Class SecretManagerSecret (1.2.0)

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

Pairs a secret environment variable with a SecretVersion in Secret Manager.

Inheritance

Object > SecretManagerSecret

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

SecretManagerSecret()

public SecretManagerSecret()

SecretManagerSecret(SecretManagerSecret)

public SecretManagerSecret(SecretManagerSecret other)
Parameter
NameDescription
otherSecretManagerSecret

Properties

Env

public string Env { get; set; }

Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.

Property Value
TypeDescription
String

VersionName

public string VersionName { get; set; }

Resource name of the SecretVersion. In format: projects//secrets//versions/*

Property Value
TypeDescription
String

VersionNameAsSecretVersionName

public SecretVersionName VersionNameAsSecretVersionName { get; set; }

SecretVersionName-typed view over the VersionName resource name property.

Property Value
TypeDescription
SecretVersionName