postgresql_instances_credentials
Overview
Name | postgresql_instances_credentials |
Type | Resource |
Id | linode.databases.postgresql_instances_credentials |
Fields
Name | Datatype | Description |
---|---|---|
password | string | The randomly-generated root password for the Managed Database instance. |
username | string | The root username for the Managed Database instance. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
getDatabasesPostgreSQLInstanceCredentials | SELECT | instanceId | Display the root username and password for an accessible Managed PostgreSQL Database. The Database must have an active status to perform this command. |
_getDatabasesPostgreSQLInstanceCredentials | EXEC | instanceId | Display the root username and password for an accessible Managed PostgreSQL Database. The Database must have an active status to perform this command. |
postDatabasesPostgreSQLInstanceCredentialsReset | EXEC | instanceId | Reset 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. |