CmdID

CmdID / aws / aws redshift

aws redshift get-cluster-credentials

Returns a database user name and temporary password with temporary authorization to log on to an Amazon Redshift database. AWS CLI reference

7 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

7 in the AWS CLI reference
--auto-createCreate a database user with the name specified for the user named in DbUser if one does not exist.
--cluster-identifierThe unique identifier of the cluster that contains the database for which you are requesting credentials.
--custom-domain-nameThe custom domain name for the cluster credentials.
--db-groupsA list of the names of existing database groups that the user named in DbUser will join for the current session, in addition to any group memberships for an existing user.
--db-nameThe name of a database that DbUser is authorized to log on to.
--db-userThe name of a database user.
--duration-secondsThe number of seconds until the returned temporary password expires.