/AWS1/CL_RSHCLUSTERCREDENTIALS¶
Temporary credentials with authorization to log on to an Amazon Redshift database.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_dbuser TYPE /AWS1/RSHSTRING /AWS1/RSHSTRING¶
A database user name that is authorized to log on to the database
DbNameusing the passwordDbPassword. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If theDbGroupsparameter is specifed,DbUseris added to the listed groups for any sessions created using these credentials.
iv_dbpassword TYPE /AWS1/RSHSENSITIVESTRING /AWS1/RSHSENSITIVESTRING¶
A temporary password that authorizes the user name returned by
DbUserto log on to the databaseDbName.
iv_expiration TYPE /AWS1/RSHTSTAMP /AWS1/RSHTSTAMP¶
The date and time the password in
DbPasswordexpires.
Queryable Attributes¶
DbUser¶
A database user name that is authorized to log on to the database
DbNameusing the passwordDbPassword. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If theDbGroupsparameter is specifed,DbUseris added to the listed groups for any sessions created using these credentials.
Accessible with the following methods¶
| Method | Description | 
|---|---|
| GET_DBUSER() | Getter for DBUSER, with configurable default | 
| ASK_DBUSER() | Getter for DBUSER w/ exceptions if field has no value | 
| HAS_DBUSER() | Determine if DBUSER has a value | 
DbPassword¶
A temporary password that authorizes the user name returned by
DbUserto log on to the databaseDbName.
Accessible with the following methods¶
| Method | Description | 
|---|---|
| GET_DBPASSWORD() | Getter for DBPASSWORD, with configurable default | 
| ASK_DBPASSWORD() | Getter for DBPASSWORD w/ exceptions if field has no value | 
| HAS_DBPASSWORD() | Determine if DBPASSWORD has a value | 
Expiration¶
The date and time the password in
DbPasswordexpires.
Accessible with the following methods¶
| Method | Description | 
|---|---|
| GET_EXPIRATION() | Getter for EXPIRATION, with configurable default | 
| ASK_EXPIRATION() | Getter for EXPIRATION w/ exceptions if field has no value | 
| HAS_EXPIRATION() | Determine if EXPIRATION has a value |