get
https://api.linode.com//databases/postgresql/instances//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
- Roles:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
databases:read_only
- Scopes:
CLI
linode-cli databases postgresql-creds-view 123