Skip to content

pgpm-encrypted-secrets-table

Storage tables and hashing triggers for PGPM secrets

pgpm-encrypted-secrets-table · Storage tables and hashing triggers for PGPM secrets

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
102142pgpm-encrypted-secrets-tablepgpm-encrypted-secrets-table0.47.0SECMITPLpgSQL
Relationships
Requirespgcrypto plpgsql pgpm-verify

Usage

Sources:

pgpm-encrypted-secrets-table provides secrets_schema.secrets_table and triggers used by the higher-level secrets module. It stores owner IDs, names and encoded values.

Core Workflow

CREATE EXTENSION "pgpm-encrypted-secrets-table" CASCADE;
SELECT count(*) FROM secrets_schema.secrets_table;

Operational Boundaries

The PGP path uses the owner UUID as its passphrase, not an independently protected key. A reader with the stored identifiers and ciphertext can therefore decrypt it. Crypt values are one-way password hashes. This design is not a vault or protection against a database reader; restrict table/function access and avoid treating identifiers as secrets.

Version 0.47.0 is a SQL/PLpgSQL extension with no own shared library or preload. Install the matching dependency versions first: pgcrypto, plpgsql, pgpm-verify. The control permits non-superuser installation but is not marked trusted; dependency, schema and role-grant privileges still apply. No current PostgreSQL-major matrix is declared.

Table reader