Class SecretKeySelector
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
SecretKeySelector selects a key of a Secret.
Inheritance
System.Object
SecretKeySelector
Implements
Namespace: Google.Apis.CloudRun.v1.Data
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class SecretKeySelector : object, IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Key
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
The key of the secret to select from. Must be a valid secret key.
Declaration
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
public virtual LocalObjectReference LocalObjectReference { get; set; }
Property Value
| Type | Description |
|---|---|
| LocalObjectReference |
Name
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
The name of the secret in the pod's namespace to select from.
Declaration
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Optional
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
Specify whether the Secret or its key must be defined
Declaration
public virtual Nullable<bool> Optional { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |