Class SecretKeySelector (0.5.0)

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

SecretEnvVarSource represents a source for the value of an EnvVar.

Attributes

NameDescription
secret str
Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
version str
The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.