Class SecretVersion (1.14.0)

SecretVersion(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for a single version.

Attributes

NameDescription
version str
Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.
path str
Relative path of the file under the mount path where the secret value for this version is fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo mounts the secret value file at /etc/secrets/secret_foo.