mirror of https://github.com/dapr/docs.git
Update hashicorp-vault.md
Updated the docs to support vaultToken as an alternative to vaultTokenMountPath. This addresses issue #1354
This commit is contained in:
parent
759667204a
commit
56caef02e5
|
|
@ -31,7 +31,9 @@ spec:
|
||||||
value : "[skip_tls_verification]"
|
value : "[skip_tls_verification]"
|
||||||
- name: tlsServerName # Optional.
|
- name: tlsServerName # Optional.
|
||||||
value : "[tls_config_server_name]"
|
value : "[tls_config_server_name]"
|
||||||
- name: vaultTokenMountPath # Required. Path to token file.
|
- name: vaultTokenMountPath # Required if vaultToken not provided. Path to token file.
|
||||||
|
value : "[path_to_file_containing_token]"
|
||||||
|
- name: vaultToken # Required if vaultTokenMountPath not provided. Token value.
|
||||||
value : "[path_to_file_containing_token]"
|
value : "[path_to_file_containing_token]"
|
||||||
- name: vaultKVPrefix # Optional. Default: "dapr"
|
- name: vaultKVPrefix # Optional. Default: "dapr"
|
||||||
value : "[vault_prefix]"
|
value : "[vault_prefix]"
|
||||||
|
|
@ -51,6 +53,7 @@ The above example uses secrets as plain strings. It is recommended to use a loca
|
||||||
| skipVerify | N | Skip TLS verification. Defaults to `"false"` | `"true"`, `"false"` |
|
| skipVerify | N | Skip TLS verification. Defaults to `"false"` | `"true"`, `"false"` |
|
||||||
| tlsServerName | N | TLS config server name | `"tls-server"` |
|
| tlsServerName | N | TLS config server name | `"tls-server"` |
|
||||||
| vaultTokenMountPath | Y | Path to file containing token | `"path/to/file"` |
|
| vaultTokenMountPath | Y | Path to file containing token | `"path/to/file"` |
|
||||||
|
| vaultToken | Y | Token | `"tokenValue"` |
|
||||||
| vaultKVPrefix | N | The prefix in vault. Defautls to `"dapr"` | `"dapr"`, `"myprefix"` |
|
| vaultKVPrefix | N | The prefix in vault. Defautls to `"dapr"` | `"dapr"`, `"myprefix"` |
|
||||||
## Setup Hashicorp Vault instance
|
## Setup Hashicorp Vault instance
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue