mirror of https://github.com/postgres/postgres
Updating CI scripts after recent changes (#129)
This commit removes outdated keyring configuration code, and adds vault support to all runners. Also contains fixes to the vault and file providers.pull/209/head
parent
57cf804f63
commit
c4b549dfda
@ -1,6 +0,0 @@ |
|||||||
{ |
|
||||||
"provider": "vault-v2", |
|
||||||
"token": "ROOT_TOKEN", |
|
||||||
"url": "http://127.0.0.1:8200", |
|
||||||
"mountPath": "secret" |
|
||||||
} |
|
@ -1,4 +0,0 @@ |
|||||||
{ |
|
||||||
"provider": "file", |
|
||||||
"datafile": "/tmp/pgkeyring" |
|
||||||
} |
|
@ -0,0 +1,13 @@ |
|||||||
|
CREATE EXTENSION pg_tde; |
||||||
|
-- server restart |
||||||
|
CREATE TABLE test_enc(id SERIAL,k INTEGER,PRIMARY KEY (id)) USING pg_tde; |
||||||
|
INSERT INTO test_enc (k) VALUES (5),(6); |
||||||
|
SELECT * FROM test_enc ORDER BY id ASC; |
||||||
|
1|5 |
||||||
|
2|6 |
||||||
|
-- server restart |
||||||
|
SELECT * FROM test_enc ORDER BY id ASC; |
||||||
|
1|5 |
||||||
|
2|6 |
||||||
|
DROP TABLE test_enc; |
||||||
|
DROP EXTENSION pg_tde; |
Loading…
Reference in new issue