Hi, I’m trying to use pg_tde and HashiCorp Vault to achieve rotate key.
Here are my steps below:
- I start the HashiCorp Vault:
-
Set the environment variable
-
Check the vault service is running ok.
-
Store two keys
-
Valid the keys
-
Set the pg_tde_policy.hcl
-
Write in and read the pg_tde_policy
8.Create a new token relate to the pg_tde_policy
-
Valid the new token
-
Connect to database and check the status
-
Create a new provider through HashiCorp Vault and set the principal key
-
Restart the percona postgrsql service
-
When I try to connect database again, it seems core dumped…
Any suggestions for my problem?
Thx!