

# Create an AWS Secrets Manager secret and an Amazon Redshift cluster with CloudFormation
<a name="cfn-example_Redshift-secret"></a>

To create an admin secret for Amazon Redshift, we recommend you use the examples on [`AWS::Redshift::Cluster`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html) and [`AWS::RedshiftServerless::Namespace`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-namespace.html). 