View Source GoogleApi.CloudBuild.V1.Model.Secret (google_api_cloud_build v0.50.1)

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.

Attributes

  • kmsKeyName (type: String.t, default: nil) - Cloud KMS key name to use to decrypt these envs.
  • secretEnv (type: map(), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V1.Model.Secret{
  kmsKeyName: String.t() | nil,
  secretEnv: map() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.