GoogleApi.CloudRun.V1alpha1.Model.SecretKeySelector (google_api_cloud_run v0.46.1) View Source
SecretKeySelector selects a key of a Secret.
Attributes
-
key
(type:String.t
, default:nil
) - A Cloud Secret Manager secret version. Must be 'latest' for the latest version or an integer for a specific version. The key of the secret to select from. Must be a valid secret key. -
localObjectReference
(type:GoogleApi.CloudRun.V1alpha1.Model.LocalObjectReference.t
, default:nil
) - This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. -
name
(type:String.t
, default:nil
) - The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from. -
optional
(type:boolean()
, default:nil
) - (Optional) Specify whether the Secret or its key must be defined
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.CloudRun.V1alpha1.Model.SecretKeySelector{ key: String.t() | nil, localObjectReference: GoogleApi.CloudRun.V1alpha1.Model.LocalObjectReference.t() | nil, name: String.t() | nil, optional: boolean() | nil }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.