Secret class

Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value.

Note: Use kmsKeyName with available_secrets instead of using kmsKeyName with secret. For instructions see: https://cloud.google.com/cloud-build/docs/securing-builds/use-encrypted-credentials.

Constructors

Secret({String? kmsKeyName, Map<String, String>? secretEnv})
Secret.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
kmsKeyName String?
Cloud KMS key name to use to decrypt these envs.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretEnv Map<String, String>?
Map of environment variable name to its encrypted value.
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