Get PostgreSQL Managed Database credentials

Display the root username and password for an accessible PostgreSQL Managed Database. The database's status needs to be active.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Roles: database_viewer
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: databases:read_only

CLI

linode-cli databases postgresql-creds-view 123

Learn more

Language
Credentials