This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

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 operational process. Pigsty provides configuration entry points 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 desired state. Acceptance checks should also inspect HBA, certificates, listen ports, and sensitive files on running nodes, and verify effective roles and privileges through PostgreSQL catalogs.