dcloud deploy connections get

Host (private or public, as the binding resolves it), port, database, role and the secret holding the password

IAM deploy:DescribeAppRead

Resolved exactly as the next rollout resolves it; a binding that would fail the rollout carries `error` instead of `connection`. No password is returned: read it with `dcloud secrets secrets get-value <password.secretId>` (needs secrets:GetSecretValue on that secret, audited). DATABASE_URL is postgresql://<user>:<password>@<host>:<port>/<database>?sslmode=require.

Synopsis

dcloud deploy connections get id

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Example

dcloud deploy connections get id

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