Step 4: Store Database Credentials in AWS Secrets Manager
To connect to your source and target databases with DMS Schema Conversion, store your database credentials in AWS Secrets Manager. Make sure that you replicate these secrets to your AWS Region.
To store your source database credentials in AWS Secrets Manager
-
Sign in to the AWS Management Console and open the AWS Secrets Manager console at https://console.aws.amazon.com/secretsmanager/
. -
Choose your AWS Region.
-
Choose Store a new secret. The Choose secret type page opens.
-
For Secret type, choose Credentials for other database.
-
For User name and Password, enter the credentials of the database user that you created for your source database in Step 2.
-
For Database, choose SQL Server.
-
For Server name, Database name, and Port, enter your SQL Server database connection information.
-
Choose Next. The Configure secret page opens.
-
For Secret name, enter
sc-sql-server-secret
. -
Choose Next. The Configure rotation page opens.
-
Choose Next. The Review page opens.
-
Choose Store.
To store your target database credentials in AWS Secrets Manager
-
Sign in to the AWS Management Console and open the AWS Secrets Manager console at https://console.aws.amazon.com/secretsmanager/
. -
Choose your AWS Region.
-
Choose Store a new secret. The Choose secret type page opens.
-
For Secret type, choose Credentials for Amazon RDS database.
-
For User name and Password, enter the credentials of the database user that you created for your target database in Step 3.
-
For Database, choose your Amazon RDS for MySQL DB instance.
-
Choose Next. The Configure secret page opens.
-
For Secret name, enter
sc-mysql-secret
. -
Choose Next. The Configure rotation page opens.
-
Choose Next. The Review page opens.
-
Choose Store.
Use these secrets when you create your migration project in Step 7.