runpod-python icon indicating copy to clipboard operation
runpod-python copied to clipboard

feat: add support for encrypted pod volumes via encrypt_volume param

Open vivienhenz24 opened this issue 6 months ago • 2 comments

Hi! tried going after https://github.com/runpod/runpod-python/issues/420

lmk!

summary of changes:

  • Add encrypt_volume parameter to pod creation API, CLI, and project helpers
  • Update GraphQL mutation to include encryptVolume: true when enabled
  • Extend CLI (runpod pod create) with --encrypt-volume/--no-encrypt-volume flag
  • Add support for encrypt_volume in project runpod.toml config
  • Update README and CHANGELOG with usage and release notes
  • Add and update unit tests for API, CLI, and mutation generator to cover new argument
  • Fix existing tests to accept new default argument

vivienhenz24 avatar Jul 02 '25 15:07 vivienhenz24

Please update your branch to the latest changes from our main. This fixes all the failing checks. Thanks.

@deanq ok!

vivienhenz24 avatar Jul 17 '25 21:07 vivienhenz24

@vivienhenz24 Network Volume encryption also requires the volumeKey to be provided. Please see https://graphql-spec.runpod.io/ Thanks!

deanq avatar Jul 29 '25 18:07 deanq