aws.lightsail.get_relational_database_master_user_password
Example SQL Queries
SELECT * FROMaws.lightsail.get_relational_database_master_user_passwordWHERE"relational_database_name" = 'VALUE';Description
Returns the current, previous, or pending versions of the master user password for a Lightsail database.
The GetRelationalDatabaseMasterUserPassword operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName.
Table Definition
| Column Name | Column Data Type |
|---|---|
| relational_database_name Required Input Column The name of your database for which to get the master user password. | VARCHAR |
| password_version Input Column The password version to return. Specifying CURRENT or PREVIOUS returns the current or previous passwords respectively. Specifying PENDING returns the newest version of the password that will rotate to CURRENT. After the PENDING password rotates to CURRENT, the PENDING password is no longer available. Default: CURRENT | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| created_at The timestamp when the specified version of the master user password was created. | TIMESTAMP_S |
| master_user_password The master user password for the password version specified. | VARCHAR |