dcloud rds tls set

Require TLS (hostssl, PgBouncer require) or stop requiring it, on every node; verified by a plaintext probe

IAM rds:ModifyDBInstanceChanges stateAsks before it deletes (-y skips)

Open sessions are not cut: pg_hba and the pooler are consulted when a connection starts, so a plaintext client breaks at its next reconnect.

Synopsis

dcloud rds tls set id --required required

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/

Flags

  • --requiredRequired

    boolean (--required / --no-required)

    true: refuse plaintext clients on ports 5432 and 6432; false: accept them again. Open sessions are not cut

Example

dcloud rds tls set id --required

Generated from the API description, the same one the API checks requests against and the CLI is built from.