Class SecretKeySelector
SecretKeySelector selects a key of a Secret.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v1alpha1.Data
Assembly: Google.Apis.CloudRun.v1alpha1.dll
Syntax
public class SecretKeySelector : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Key
A Cloud Secret Manager secret version. Must be 'latest' for the latest version or an integer for a specific version. The key of the secret to select from. Must be a valid secret key.
Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LocalObjectReference
This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead.
Declaration
[JsonProperty("localObjectReference")]
public virtual LocalObjectReference LocalObjectReference { get; set; }
Property Value
Type | Description |
---|---|
LocalObjectReference |
Name
The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: :projects//secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. The name of the secret in the pod's namespace to select from.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Optional
(Optional) Specify whether the Secret or its key must be defined
Declaration
[JsonProperty("optional")]
public virtual bool? Optional { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |