Cloud Build v1 API - Class InlineSecret (2.4.0)

public sealed class InlineSecret : IMessage<InlineSecret>, IEquatable<InlineSecret>, IDeepCloneable<InlineSecret>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Build v1 API class InlineSecret.

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

Inheritance

object > InlineSecret

Namespace

GoogleCloudGoogle.Cloud.CloudBuildV1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

InlineSecret()

public InlineSecret()

InlineSecret(InlineSecret)

public InlineSecret(InlineSecret other)
Parameter
NameDescription
otherInlineSecret

Properties

EnvMap

public MapField<string, ByteString> EnvMap { get; }

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.

Property Value
TypeDescription
MapFieldstringByteString

KmsKeyName

public string KmsKeyName { get; set; }

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/

Property Value
TypeDescription
string

KmsKeyNameAsCryptoKeyName

public CryptoKeyName KmsKeyNameAsCryptoKeyName { get; set; }

CryptoKeyName-typed view over the KmsKeyName resource name property.

Property Value
TypeDescription
CryptoKeyName