CmdID / aws / aws redshift
aws redshift get-cluster-credentials-with-iam
Returns a database user name and temporary password with temporary authorization to log in to an Amazon Redshift database. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--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 IAM message cluster credentials.--db-nameThe name of the database for which you are requesting credentials.--duration-secondsThe number of seconds until the returned temporary password expires.