File tree Expand file tree Collapse file tree 2 files changed +72
-0
lines changed Expand file tree Collapse file tree 2 files changed +72
-0
lines changed Original file line number Diff line number Diff line change
1
+ select
2
+ 1
3
+ from
4
+ vault.create_secret('my_s3kre3t');
5
+ ?column?
6
+ ----------
7
+ 1
8
+ (1 row)
9
+
10
+ select
11
+ 1
12
+ from
13
+ vault.create_secret(
14
+ 'another_s3kre3t',
15
+ 'unique_name',
16
+ 'This is the description'
17
+ );
18
+ ?column?
19
+ ----------
20
+ 1
21
+ (1 row)
22
+
23
+ insert into vault.secrets (secret)
24
+ values
25
+ ('s3kre3t_k3y');
26
+ select
27
+ name,
28
+ description
29
+ from
30
+ vault.decrypted_secrets
31
+ order by
32
+ created_at desc
33
+ limit
34
+ 3;
35
+ name | description
36
+ -------------+-------------------------
37
+ |
38
+ unique_name | This is the description
39
+ |
40
+ (3 rows)
41
+
42
+
Original file line number Diff line number Diff line change
1
+ select
2
+ 1
3
+ from
4
+ vault .create_secret (' my_s3kre3t' );
5
+
6
+ select
7
+ 1
8
+ from
9
+ vault .create_secret (
10
+ ' another_s3kre3t' ,
11
+ ' unique_name' ,
12
+ ' This is the description'
13
+ );
14
+
15
+ insert into vault .secrets (secret)
16
+ values
17
+ (' s3kre3t_k3y' );
18
+
19
+ select
20
+ name,
21
+ description
22
+ from
23
+ vault .decrypted_secrets
24
+ order by
25
+ created_at desc
26
+ limit
27
+ 3 ;
28
+
29
+
30
+
You can’t perform that action at this time.
0 commit comments