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.
lightsail_get_relational_database_master_user_password(
relationalDatabaseName, passwordVersion)
A list with the following syntax:
list(
masterUserPassword = "string",
createdAt = as.POSIXct(
"2015-01-01"
)
)
[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"
)