Cloud Build V1 API - Class Google::Cloud::Build::V1::InlineSecret (v0.15.0)

Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::InlineSecret.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#env_map

def env_map() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — 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.

#env_map=

def env_map=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — 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.

Returns
  • (::Google::Protobuf::Map{::String => ::String}) — 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.

#kms_key_name

def kms_key_name() -> ::String
Returns
  • (::String) — Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/

#kms_key_name=

def kms_key_name=(value) -> ::String
Parameter
  • value (::String) — Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/
Returns
  • (::String) — Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/