Skip to content

PostgreSQL Security

Entry points for PostgreSQL authentication, access control, encrypted communication, data protection, and secure operations.

PostgreSQL security combines authentication, authorization, network boundaries, encrypted communication, data protection, and operating procedures. Pigsty provides configuration parameters for these mechanisms. Operators must still harden, verify, and audit the deployment for its environment.


Concepts and Boundaries

TopicContent
Security and ComplianceDefault state, capability boundaries, and hardening path
AuthenticationHBA, SCRAM, certificate authentication, and credential management
Access ControlBuilt-in roles, default privileges, database ACLs, and instance-access boundaries
Encrypted CommunicationCA, TLS, server authentication, and certificate rotation
Data SecurityPage checksums, replication, backup, PITR, audit, and logging
ComplianceLaunch checks, control mappings, and evidence requirements

Configuration Reference


Administration and Verification

The inventory describes the required state. Acceptance checks should inspect HBA, certificates, listening ports, and sensitive files on running nodes. They should also verify effective roles and privileges through PostgreSQL catalogs.

Was this page helpful?