ServiceTemplateSpecContainerEnvValueFromSecretKeyRef class
Constructors
-
ServiceTemplateSpecContainerEnvValueFromSecretKeyRef({required Input<
String> key, required Input<String> name}) -
Creates a new ServiceTemplateSpecContainerEnvValueFromSecretKeyRef.
keyA Cloud Secret Manager secret version. Must be 'latest' for the latestnameThe name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project.const -
ServiceTemplateSpecContainerEnvValueFromSecretKeyRef.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ Input<
String> -
A Cloud Secret Manager secret version. Must be 'latest' for the latest
version or an integer for a specific version.
final
-
name
→ Input<
String> -
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:
{alias}:projects/{project-id|project-number}/secrets/{secret-name}.
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited