Web: https://www.reddit.com/r/devops/comments/rz7n91/what_are_the_correct_paths_to_retrieve_secrets/

Jan. 8, 2022, 7:23 p.m. | /u/kautica0

Everything DevOps reddit.com

I created a secret with the name test1 in the path secret/test1 in the kv-v2 engine and the URL for the secret in the vault UI is https://vault.example.com/ui/vault/secrets/kv-v2/show/secret/test1

When I try to access the secret via the CLI or curl, I get the errors below. What are the correct paths I should use for CLI and curl?

$ vault kv get secret/test1 Error making API request. URL: GET https://vault.example.com/v1/sys/internal/ui/mounts/secret/test1 Code: 403. Errors: * preflight capability check returned 403, please ensure client's policies grant access to path "secret/test1/" $ curl --header …

devops secrets vault

Azure Cloud Engineer (Remote - Canada)

@ Rackspace | Canada - Toronto

Platform Engineer

@ Cyted | Cambridge, United Kingdom

Linux-/DevOps Engineer

@ Solvinity | Assen, Netherlands

Azure Cloud Architect (Remote - Canada)

@ Rackspace | Canada - Remote

Azure Senior Cloud Engineer (Remote)

@ Rackspace | United States - Remote

AWS Cloud Architect (Remote)

@ Rackspace | United States - San Antonio