SecretManagerSecret class
Pairs a secret environment variable with a SecretVersion in Secret Manager.
Constructors
-
SecretManagerSecret({Input<
String> ? env, Input<String> ? versionName}) -
Creates a new SecretManagerSecret.
envEnvironment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.versionNameResource name of the SecretVersion. In format: projects//secrets//versions/*const -
SecretManagerSecret.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
env
→ Input<
String> ? -
Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
versionName
→ Input<
String> ? -
Resource name of the SecretVersion. In format: projects//secrets//versions/*
final
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