Class: Google::Cloud::Build::V1::InlineSecret

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb

Overview

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

Defined Under Namespace

Classes: EnvMapEntry

Instance Attribute Summary collapse

Instance Attribute Details

#env_map::Google::Protobuf::Map{::String => ::String}

Returns 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.



1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1199

class InlineSecret
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EnvMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#kms_key_name::String

Returns 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/



1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1199

class InlineSecret
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EnvMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end