Class SecretKeySelector
SecretKeySelector selects a key of a Secret.
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v1.Data
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class SecretKeySelector : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Key
Required. A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. 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 |
---|---|
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 |
---|---|
string |
Optional
Specify whether the Secret or its key must be defined.
Declaration
[JsonProperty("optional")]
public virtual bool? Optional { get; set; }
Property Value
Type | Description |
---|---|
bool? |