Skip to main content
Version: 3.0.0

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

vault:
gcp_secret_manager:
project: my-gcp-project

GcpSecretManagerVault

info

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.

PropertyDefaultTypeRequiredDescription
namestring
NoThe name of the model
descriptionstring
NoA brief description of what the model does.
metadataResourceMetadata
NoMeta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources.
gcp_secret_managerGcpSecretManagerVaultOptionsYes

Property Details

Vault

A way of storing secrets for use in your project and associating it with the desired service account

PropertyDefaultTypeRequiredDescription
vaultOne of:
  EnvironmentVariablesVault
  LocalFileVault
  CredstashVault
  GcpSecretManagerVault
  AwsSecretsManagerVault
  AzureKeyVault
  AscendEnvironmentVault
Yes

GcpSecretManagerVaultOptions

Options for reading secrets from GCP Secret Manager.

PropertyDefaultTypeRequiredDescription
projectstringYesThe 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.

PropertyDefaultTypeRequiredDescription
sourceResourceLocation
NoThe origin or source information for the resource.
source_event_uuidstring
NoUUID of the event that is associated with creation of this resource.

ResourceLocation

The origin or source information for the resource.

PropertyDefaultTypeRequiredDescription
pathstringYesPath within repository files where the resource is defined.
first_line_numberinteger
NoFirst line number within path file where the resource is defined.