GCP Secret Manager Vault
Retrieve secrets from GCP Secret Manager.
Keys are retrieved using the 'latest' version by default. Keys that are versioned may be used by specifying the version number in the key string. For example, if using a key 'my_key' with version 2, the key name would 'my_key.2'.
Examples
- gcp_secret_manager_vault.yaml
- gcp_secret_manager_version.yaml
vault:
gcp_secret_manager:
project: my-gcp-project
vault:
gcp_secret_manager:
project: my-gcp-project
GcpSecretManagerVault
GcpSecretManagerVault
is defined beneath the following ancestor nodes in the YAML structure:
Below are the properties for the GcpSecretManagerVault
. Each property links to the specific details section further down in this page.
Property | Default | Type | Required | Description |
---|---|---|---|---|
name | string | No | The name of the model | |
description | string | No | A brief description of what the model does. | |
metadata | ResourceMetadata | No | Meta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources. | |
gcp_secret_manager | GcpSecretManagerVaultOptions | Yes |
Property Details
Vault
A way of storing secrets for use in your project and associating it with the desired service account
Property | Default | Type | Required | Description |
---|---|---|---|---|
vault | One of: EnvironmentVariablesVault LocalFileVault CredstashVault GcpSecretManagerVault AwsSecretsManagerVault AzureKeyVault AscendEnvironmentVault | Yes |
GcpSecretManagerVaultOptions
Options for reading secrets from GCP Secret Manager.
Property | Default | Type | Required | Description |
---|---|---|---|---|
project | string | Yes | The GCP project that contains secrets managed by Secret Manager. |
ResourceMetadata
Meta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources.
Property | Default | Type | Required | Description |
---|---|---|---|---|
source | ResourceLocation | No | The origin or source information for the resource. | |
source_event_uuid | string | No | UUID of the event that is associated with creation of this resource. |
ResourceLocation
The origin or source information for the resource.
Property | Default | Type | Required | Description |
---|---|---|---|---|
path | string | Yes | Path within repository files where the resource is defined. | |
first_line_number | integer | No | First line number within path file where the resource is defined. |