Get Relational Database Master User Password
lightsail_get_relational_database_master_user_password | R Documentation |
Returns the current, previous, or pending versions of the master user password for a Lightsail database¶
Description¶
Returns the current, previous, or pending versions of the master user password for a Lightsail database.
The get_relational_database_master_user_password
operation supports
tag-based access control via resource tags applied to the resource
identified by relationalDatabaseName.
Usage¶
Arguments¶
relationalDatabaseName
[required] The name of your database for which to get the master user password.
passwordVersion
The password version to return.
Specifying
CURRENT
orPREVIOUS
returns the current or previous passwords respectively. SpecifyingPENDING
returns the newest version of the password that will rotate toCURRENT
. After thePENDING
password rotates toCURRENT
, thePENDING
password is no longer available.Default:
CURRENT
Value¶
A list with the following syntax: