Reference documentation and code samples for the Google Cloud Build V1 Client class InlineSecret.
Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.
Generated from protobuf message google.devtools.cloudbuild.v1.InlineSecret
Namespace
Google \ Cloud \ Build \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ kms_key_name
string
Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/ /locations/ /keyRings/ /cryptoKeys/
↳ env_map
array| Google\Protobuf\Internal\MapField
Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
getKmsKeyName
Resource name of Cloud KMS crypto key to decrypt the encrypted value.
In format: projects/ /locations/ /keyRings/ /cryptoKeys/
string
setKmsKeyName
Resource name of Cloud KMS crypto key to decrypt the encrypted value.
In format: projects/ /locations/ /keyRings/ /cryptoKeys/
var
string
$this
getEnvMap
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
setEnvMap
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
$this