Previous: Getting started
secrets:
- file: <file path>
class: <class> # optional
vault: # optional
url: <url to Vault secret>
mapping:
fromData: # optional
format: <format>
path: ['<key 1>', '<key 2>', '...'] # optional
fromText: # optional
path: ['<key 1>', '<key 2>', '...']Object
.secrets- array of Secret, list of secrets
Object
.file- string, local path where secret should be stored.class- optional string, classification of secret (see Secret Classes).vault- optional VaultSecret, configuration to sync this secret with Vault
Object
.url- string, URL to the Vault secret in the format ofhttp[s]://<domain>/<engine>/<secret path>.mapping- object.fromData- optional VaultDataMapping, maps this secret to structured data in Vault.fromText- optional VaultTextMapping, maps this secret to text data in Vault
Object
.format- DataFormat, format to render the local secret as.path- optional array of string or int, list of map or array indexes to secret data in a Vault document
Object
.path- array of string or int, list of map or array indexes to string in a Vault document
Enum One of:
json- format as JSONyaml- format as YAML
Next: Secret Classes