Skip to Content
dFlow
Data

dflow db:credentials

One-time read of the database password. The API writes an audit event.

This prints the database host, port, name, username, and password once. The API records that you read it. A second read exits 6. The terminal also prints The password will not be shown again.

dflow db:credentials NAME

Flags

This command adds no flags of its own. --output, --api, and --context still apply.

What you see

The terminal prints host, port, database, username, and password, then The password will not be shown again. The service name is resolved in the current workspace, project, and environment. Exit 0 is the first read.

When it fails

Exit 1: usage. Exit 2: auth. Exit 3: not found. Exit 6: already read. Exit 10: unreachable.

How is this guide?

Last updated on