Skip to content

Commit 9ac73c1

Browse files
InverseIntegralMarcosDY
authored andcommitted
Fix hcl examples in documentation (spiffe#5058)
Signed-off-by: Matteo Kamm <[email protected]>
1 parent f938f16 commit 9ac73c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/plugin_server_keymanager_hashicorp_vault.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ path "pki/root/sign-intermediate" {
5353
| client_key_path | string | | Path to a client private key file. Only PEM format is supported. | `${VAULT_CLIENT_KEY}` |
5454

5555
```hcl
56-
UpstreamAuthority "vault" {
56+
KeyManager "hashicorp_vault" {
5757
plugin_data {
5858
vault_addr = "https://vault.example.org/"
5959
pki_mount_point = "test-pki"
@@ -89,7 +89,7 @@ path "pki/root/sign-intermediate" {
8989
| token | string | | Token string to set into "X-Vault-Token" header | `${VAULT_TOKEN}` |
9090

9191
```hcl
92-
UpstreamAuthority "vault" {
92+
KeyManager "hashicorp_vault" {
9393
plugin_data {
9494
vault_addr = "https://vault.example.org/"
9595
pki_mount_point = "test-pki"
@@ -112,7 +112,7 @@ path "pki/root/sign-intermediate" {
112112
| approle_secret_id | string | | A credential of AppRole | `${VAULT_APPROLE_SECRET_ID}` |
113113

114114
```hcl
115-
UpstreamAuthority "vault" {
115+
KeyManager "hashicorp_vault" {
116116
plugin_data {
117117
vault_addr = "https://vault.example.org/"
118118
pki_mount_point = "test-pki"
@@ -142,7 +142,7 @@ path "pki/root/sign-intermediate" {
142142
| token_path | string || Path to the Kubernetes Service Account Token to use authentication with the Vault | |
143143

144144
```hcl
145-
UpstreamAuthority "vault" {
145+
KeyManager "hashicorp_vault" {
146146
plugin_data {
147147
vault_addr = "https://vault.example.org/"
148148
pki_mount_point = "test-pki"

0 commit comments

Comments
 (0)