Command option Sample:aws redshift get-cluster-credentials

Search command sample in the internet.It is the result.

Returns a database user name and temporary password with temporaryauthorization to log on to an Amazon Redshift database.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/redshift/get-cluster-credentials.html

aws redshift get-cluster-credentials --cluster-identifier exampleCluster --db-user temp_creds_user --db-name birch --duration-seconds 3600
    AWS – No Password? No Problem! Generating Redshift Credentials via IAM Authentication | DataGinger.com : http://dataginger.com/2017/09/01/aws-no-password-no-problem-generating-redshift-credentials-via-iam-authentication/
aws redshift get-cluster-credentials --cluster-identifier examplecluster --db-user temp_creds_user --db-name exampledb --duration-seconds 3600
    Creating Temporary IAM User Credentials - Amazon Redshift  : http://docs.aws.amazon.com/redshift/latest/mgmt/generating-iam-credentials-cli-api.html
aws redshift get-cluster-credentials --cluster-identifier
    .net - Does redshift not work with local aws profile creds? - Stack Overflow : http://stackoverflow.com/questions/48957236/does-redshift-not-work-with-local-aws-profile-creds
aws redshift get-cluster-credentials --auto-create --db-user testing1 --cluster-identifier redshift2
    That Guy From Delhi: PsqlForks supports AWS IAM authentication for Redshift : http://www.thatguyfromdelhi.com/2017/10/psqlforks-supports-aws-iam.html

aws のオプション一覧