Skip to content

Commit

Permalink
Fixed vault example in the README (#405)
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
  • Loading branch information
ImTheKai authored Jan 30, 2025
1 parent 59eee8e commit b8d8702
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ _See [Make Builds for Developers](https://github.com/percona/pg_tde/wiki/Make-bu
-- For Vault-V2 key provider
-- pg_tde_add_key_provider_vault_v2(provider_name, vault_token, vault_url, vault_mount_path, vault_ca_path)
SELECT pg_tde_add_key_provider_vault_v2(
'vault-provider',
json_object( 'type' VALUE 'remote', 'url' VALUE 'http://localhost:8888/token' ),
json_object( 'type' VALUE 'remote', 'url' VALUE 'http://localhost:8888/url' ),
to_json('secret'::text), NULL);
'vault-provider',
'<rootToken>',
'http://vault.vault.svc.cluster.local:8200',
'secret', NULL);
-- For File key provider
-- pg_tde_add_key_provider_file(provider_name, file_path);
Expand Down

0 comments on commit b8d8702

Please sign in to comment.