Skip to main content

postgresql_instances_credentials

Overview

Namepostgresql_instances_credentials
TypeResource
Idlinode.databases.postgresql_instances_credentials

Fields

NameDatatypeDescription
passwordstringThe randomly-generated root password for the Managed Database instance.
usernamestringThe root username for the Managed Database instance.

Methods

NameAccessible byRequired ParamsDescription
getDatabasesPostgreSQLInstanceCredentialsSELECTinstanceIdDisplay the root username and password for an accessible Managed PostgreSQL Database.

The Database must have an active status to perform this command.
_getDatabasesPostgreSQLInstanceCredentialsEXECinstanceIdDisplay the root username and password for an accessible Managed PostgreSQL Database.

The Database must have an active status to perform this command.
postDatabasesPostgreSQLInstanceCredentialsResetEXECinstanceIdReset the root password for a Managed PostgreSQL Database.

Requires read_write access to the Database.

A new root password is randomly generated and accessible with the Managed PostgreSQL Database Credentials View (GET /databases/postgresql/instances/{instanceId}/credentials) command.

Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.

Note: Note that it may take several seconds for credentials to reset.