mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-14 11:57:59 +00:00
Update VaultAppRole documentation to show/use roleRef in its examples (#4035)
Signed-off-by: Mike Tougeron <tougeron@adobe.com> Co-authored-by: Gustavo Fernandes de Carvalho <17139678+gusfcarvalho@users.noreply.github.com>
This commit is contained in:
parent
abd7b77611
commit
9113bced5b
2 changed files with 13 additions and 4 deletions
|
@ -68,11 +68,16 @@ spec:
|
|||
# AppRole auth: https://www.vaultproject.io/docs/auth/approle
|
||||
appRole:
|
||||
path: "approle"
|
||||
roleId: "db02de05-fa39-4855-059b-67221c5c2f63"
|
||||
# Instead of referencing the AppRole's ID from the secret, you can also specify it directly
|
||||
# roleId: "db02de05-fa39-4855-059b-67221c5c2f63"
|
||||
roleRef:
|
||||
name: "my-secret"
|
||||
namespace: "secret-admin"
|
||||
key: "vault-role-id"
|
||||
secretRef:
|
||||
name: "my-secret"
|
||||
namespace: "secret-admin"
|
||||
key: "vault-token"
|
||||
key: "vault-role-secret"
|
||||
|
||||
# Kubernetes auth: https://www.vaultproject.io/docs/auth/kubernetes
|
||||
kubernetes:
|
||||
|
|
|
@ -82,10 +82,14 @@ spec:
|
|||
# AppRole auth: https://www.vaultproject.io/docs/auth/approle
|
||||
appRole:
|
||||
path: "approle"
|
||||
roleId: "db02de05-fa39-4855-059b-67221c5c2f63"
|
||||
# Instead of referencing the AppRole's ID from the secret, you can also specify it directly
|
||||
# roleId: "db02de05-fa39-4855-059b-67221c5c2f63"
|
||||
roleRef:
|
||||
name: "my-secret"
|
||||
key: "vault-role-id"
|
||||
secretRef:
|
||||
name: "my-secret"
|
||||
key: "vault-token"
|
||||
key: "vault-role-secret"
|
||||
|
||||
# Kubernetes auth: https://www.vaultproject.io/docs/auth/kubernetes
|
||||
kubernetes:
|
||||
|
|
Loading…
Reference in a new issue