Skip to content

/AWS1/CL_LSA=>GETRELATIONALDATABASEMASTE00()

About GetRelationalDatabaseMasterUserPassword

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.

Method Signature

IMPORTING

Required arguments:

IV_RELATIONALDATABASENAME TYPE /AWS1/LSARESOURCENAME /AWS1/LSARESOURCENAME

The name of your database for which to get the master user password.

Optional arguments:

IV_PASSWORDVERSION TYPE /AWS1/LSARELATIONALDATABASEP00 /AWS1/LSARELATIONALDATABASEP00

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LSAGETRELATIONALDAT13 /AWS1/CL_LSAGETRELATIONALDAT13