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.



1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1031

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/



1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1031

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