@@ -183,31 +183,48 @@ tracing:
183183
184184
185185# ------------------------------------------------------------------------------
186- # Secret (remote secret)
187- # reference: {secret://<provider>/<name>[?<properties>][#/jsonpointer]}
188- # Example: {secret://aws/path/to/secret#/password?ttl=1}
186+ # Secret Reference (External Secret Reference)
187+ # Secret Reference allows fetching values from external secret providers.
188+ #
189+ # Syntax:
190+ # {secret://<provider>/<name>[.<jsonpath>][?<parameters>]}
191+ #
192+ # Components:
193+ # - <provider> The provider name (e.g.`aws`, `vault`).
194+ # - <name> The secret name.
195+ # - <jsonpath> A optional JSON Path to extract value from a JSON.
196+ # JSON Path is a series of keys separated by a `.` character.
197+ # Examples: `database.username`, `credentials.1.username`.
198+ # - <parameters> The optional parameters.
199+ #
200+ # Examples:
201+ # {secret://aws/path/to/mysecret}
202+ # {secret://aws/path/to/mysecret.password}
189203# ------------------------------------------------------------------------------
190204secret :
191205 providers : # Specifies enabled providers.
192- - ' @default'
193- - ' @all'
194- ttl : 10s
195- aws : # AWS SecretManager provider
196- region : us-west-1
197- url : http://localhost:4566 # aws_url?
198-
199- vault : # HashiCorp Vault provider
200- address : http://localhost:8200
201- mount_path : secret
202- namespace :
203- auth_method : approle
204- authn :
206+ - ' @default' # Supported values:
207+ # - `@default`: an alias of built-in providers.
208+ # - `aws`
209+ # - `vault`
210+
211+ aws : # AWS SecretsManager provider
212+ region : # AWS region.
213+ url : # Optional custom endpoint.
214+ # If unset, uses AWS default endpoint resolution.
215+
216+ vault : # HashiCorp Vault provider (KV v2)
217+ address : http://127.0.0.1:8200 # Vault server address.
218+ mount_path : secret # The mount path for KV secrets engine.
219+ namespace : # Vault namespace (for Vault Enterprise).
220+ auth_method : token # Authentication method. Supported values: `token`, `approle`, `kubernetes`.
221+ authn : # Authentication configuration.
205222 token :
206- token :
223+ token : # The token used to making requests to Vault.
207224 approle :
208- role_id :
209- secret_id :
210- response_wrapping : false
225+ role_id : # RoleID used for login.
226+ secret_id : # SecretID used for login.
227+ response_wrapping : false # Whether to use response-wrapping. Defaults to false.
211228 kubernetes :
212- role :
213- token_path :
229+ role : # Vault role bound to the Kubernetes service account.
230+ token_path : # Path to JWT token file.
0 commit comments