Returns the current, previous, or pending versions of the master user password for a Lightsail database.
See https://www.paws-r-sdk.com/docs/lightsail_get_relational_database_master_user_password/ for full documentation.
lightsail_get_relational_database_master_user_password(
relationalDatabaseName,
passwordVersion = NULL
)
[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