Do you support HCP Vault? #395
Replies: 4 comments
-
Hello Vault Secrets and the HashiCorp Vault Server are two different things. I never used their online interface before, but by looking at it, I think the equivalent is "Vault Dedicated" - or you can simply set it up yourself on your computer for testing: https://developer.hashicorp.com/vault/docs/concepts/dev-server |
Beta Was this translation helpful? Give feedback.
-
Hello, Thanks for response, I am trying to use the hashicorp/vault docker image to run the vault on my computer, but it shows error when I try to set the principal key, here are the steps to reproduce: Config the Vault:
Config the pg_tde:
I have a question here, how to set the path (test)? Maybe I'm not using the function's parameters correctly, please help to check. |
Beta Was this translation helpful? Give feedback.
-
Hello! 5 - there's no need to create a secret manually, it will be created by pg_tde Regarding the error, the problem is there in the output:
Which means pg_tde can't connect to the address you specified ( This is most likely because both of them are docker containers, and this is not how networking works in docker. Ports are only mapped to the host, not inside the container. Inside a container you have to specify the proper ip, and to query that you have to use |
Beta Was this translation helpful? Give feedback.
-
Thanks for the help, it's working now after I changed the link to http://host.docker.internal:8200 in pg_tde_add_key_provider_vault_v2 function. |
Beta Was this translation helpful? Give feedback.
-
I registered an account on https://www.vaultproject.io/ and created a Vault Secrets app and secret, but how can I use the pg_tde_add_key_provider_vault_v2() to add provider?
Beta Was this translation helpful? Give feedback.
All reactions