Class SecretKeySelector (1.0.0-beta02)

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

SecretEnvVarSource represents a source for the value of an EnvVar.

Inheritance

Object > SecretKeySelector

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

SecretKeySelector()

public SecretKeySelector()

SecretKeySelector(SecretKeySelector)

public SecretKeySelector(SecretKeySelector other)
Parameter
NameDescription
otherSecretKeySelector

Properties

Secret

public string Secret { get; set; }

Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.

Property Value
TypeDescription
String

SecretAsSecretName

public SecretName SecretAsSecretName { get; set; }

SecretName-typed view over the Secret resource name property.

Property Value
TypeDescription
SecretName

Version

public string Version { get; set; }

The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.

Property Value
TypeDescription
String

VersionAsSecretVersionName

public SecretVersionName VersionAsSecretVersionName { get; set; }

SecretVersionName-typed view over the Version resource name property.

Property Value
TypeDescription
SecretVersionName