public sealed class Secret : IMessage<Secret>, IEquatable<Secret>, IDeepCloneable<Secret>, IBufferMessage, IMessage
Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value.
Implements
Google.Protobuf.IMessage<Secret>, IEquatable<Secret>, Google.Protobuf.IDeepCloneable<Secret>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
Secret()
public Secret()
Secret(Secret)
public Secret(Secret other)
Parameter | |
---|---|
Name | Description |
other | Secret |
Properties
KmsKeyName
public string KmsKeyName { get; set; }
Cloud KMS key name to use to decrypt these envs.
Property Value | |
---|---|
Type | Description |
String |
SecretEnv
public MapField<string, ByteString> SecretEnv { 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 | |
---|---|
Type | Description |
Google.Protobuf.Collections.MapField<String, Google.Protobuf.ByteString> |