Returns the current, previous, or pending versions of the master user password for a Lightsail database.
lightsail_get_relational_database_master_user_password(
relationalDatabaseName, passwordVersion)
[required] The name of your database for which to get the master user password.
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
svc$get_relational_database_master_user_password( relationalDatabaseName = "string", passwordVersion = "CURRENT"|"PREVIOUS"|"PENDING" )
The asdf
operation GetRelationalDatabaseMasterUserPassword supports
tag-based access control via resource tags applied to the resource
identified by relationalDatabaseName.