dcloud rds tls setRequire 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 requiredArguments
<id>Requiredstring
Also accepted as
--id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/
Flags
--requiredRequiredboolean (--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 --requiredGenerated from the API description, the same one the API checks requests against and the CLI is built from.