Class SecretRef (1.122.0)

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

Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.

Attributes

Name Description
secret str
Required. The name of the secret in Cloud Secret Manager. Format: {secret_name}.
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.

Methods

SecretRef

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

Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.