CmdID / aws / aws redshift-serverless
aws redshift-serverless get-credentials
Returns a database user name and temporary password with temporary authorization to log in to Amazon Redshift Serverless. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--custom-domain-nameThe custom domain name associated with the workgroup.--db-nameThe name of the database to get temporary authorization to log on to.--duration-secondsThe number of seconds until the returned temporary password expires.--workgroup-nameThe name of the workgroup associated with the database.