@pgpm/encrypted-secrets 0.15.1 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Makefile
CHANGED
package/README.md
CHANGED
|
@@ -446,9 +446,13 @@ SELECT encrypted_secrets.secrets_upsert('uuid', 'key', 'value');
|
|
|
446
446
|
SELECT * FROM secrets_schema.secrets_table WHERE secrets_owned_field = 'uuid';
|
|
447
447
|
```
|
|
448
448
|
|
|
449
|
-
### With
|
|
449
|
+
### With PGPM roles
|
|
450
450
|
|
|
451
|
-
|
|
451
|
+
Ensure the standard roles exist before granting:
|
|
452
|
+
|
|
453
|
+
```bash
|
|
454
|
+
pgpm admin-users bootstrap
|
|
455
|
+
```
|
|
452
456
|
|
|
453
457
|
```sql
|
|
454
458
|
-- Only authenticated users can manage secrets
|
|
@@ -480,7 +484,7 @@ SELECT encrypted_secrets.secrets_getter(
|
|
|
480
484
|
|
|
481
485
|
## Dependencies
|
|
482
486
|
|
|
483
|
-
-
|
|
487
|
+
- PGPM roles (anonymous, authenticated, administrator)
|
|
484
488
|
- `@pgpm/encrypted-secrets-table`: Storage layer
|
|
485
489
|
- `@pgpm/verify`: Verification utilities
|
|
486
490
|
- PostgreSQL pgcrypto extension (for encryption functions)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpm/encrypted-secrets",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.3",
|
|
4
4
|
"description": "Encrypted secrets management for PostgreSQL",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"contributors": [
|
|
@@ -21,9 +21,8 @@
|
|
|
21
21
|
"test:watch": "jest --watch"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@pgpm/
|
|
25
|
-
"@pgpm/
|
|
26
|
-
"@pgpm/verify": "0.15.1"
|
|
24
|
+
"@pgpm/encrypted-secrets-table": "0.15.3",
|
|
25
|
+
"@pgpm/verify": "0.15.3"
|
|
27
26
|
},
|
|
28
27
|
"devDependencies": {
|
|
29
28
|
"pgpm": "^1.0.0"
|
|
@@ -36,5 +35,5 @@
|
|
|
36
35
|
"bugs": {
|
|
37
36
|
"url": "https://github.com/constructive-io/pgpm-modules/issues"
|
|
38
37
|
},
|
|
39
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "187ed37f6b731132fe930acf5b5996b1e63ecca0"
|
|
40
39
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# pgpm-encrypted-secrets extension
|
|
2
2
|
comment = 'pgpm-encrypted-secrets extension'
|
|
3
|
-
default_version = '0.
|
|
3
|
+
default_version = '0.15.2'
|
|
4
4
|
module_pathname = '$libdir/pgpm-encrypted-secrets'
|
|
5
|
-
requires = 'pgcrypto,plpgsql,uuid-ossp,pgpm-encrypted-secrets-table,pgpm-
|
|
5
|
+
requires = 'pgcrypto,plpgsql,uuid-ossp,pgpm-encrypted-secrets-table,pgpm-verify'
|
|
6
6
|
relocatable = false
|
|
7
7
|
superuser = false
|
|
8
|
-
|
|
8
|
+
|
|
File without changes
|