Class: Google::Cloud::Build::V1::Secret

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

Defined Under Namespace

Classes: SecretEnvEntry

Instance Attribute Summary collapse

Instance Attribute Details

#kms_key_name::String



1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1244

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

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

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



1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1244

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

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