public sealed class InlineSecret : IMessage<InlineSecret>, IEquatable<InlineSecret>, IDeepCloneable<InlineSecret>, IBufferMessage, IMessagePairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.
Implements
IMessage<InlineSecret>, IEquatable<InlineSecret>, IDeepCloneable<InlineSecret>, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
InlineSecret()
public InlineSecret()InlineSecret(InlineSecret)
public InlineSecret(InlineSecret other)| Parameter | |
|---|---|
| Name | Description |
other |
InlineSecret |
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 | |
|---|---|
| Type | Description |
MapField<String, ByteString> |
|
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 | |
|---|---|
| Type | Description |
String |
|
KmsKeyNameAsCryptoKeyName
public CryptoKeyName KmsKeyNameAsCryptoKeyName { get; set; }CryptoKeyName-typed view over the KmsKeyName resource name property.
| Property Value | |
|---|---|
| Type | Description |
CryptoKeyName |
|