SecretEnvVar class

Configuration for a secret environment variable.

It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.

Constructors

SecretEnvVar({String? key, String? projectId, String? secret, String? version})
SecretEnvVar.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
key String?
Name of the environment variable.
getter/setter pair
projectId String?
Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret String?
Name of the secret in secret manager (not the full resource name).
getter/setter pair
version String?
Version of the secret (version number or the string 'latest').
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited