diff --git a/_migration-assistant/deploying-migration-assistant/configuration-options.md b/_migration-assistant/deploying-migration-assistant/configuration-options.md index 5fa28e44c43..bbb88f819aa 100644 --- a/_migration-assistant/deploying-migration-assistant/configuration-options.md +++ b/_migration-assistant/deploying-migration-assistant/configuration-options.md @@ -51,8 +51,7 @@ The following CDK performs a backfill migrations using RFS: "endpoint": , "auth": { "type": "basic", - "username": , - "passwordFromSecretArn": + "userSecretArn": } }, "reindexFromSnapshotServiceEnabled": true, @@ -93,8 +92,7 @@ The following sample CDK performs a live capture migration with C&R: "endpoint": , "auth": { "type": "basic", - "username": , - "passwordFromSecretArn": + "userSecretArn": } }, "captureProxyServiceEnabled": true, @@ -144,8 +142,7 @@ Both the source and target cluster can use no authentication, authentication lim "version": "ES 7.10", "auth": { "type": "basic", - "username": , - "passwordFromSecretArn": + "userSecretArn": } } ``` diff --git a/_migration-assistant/deploying-migration-assistant/getting-started-data-migration.md b/_migration-assistant/deploying-migration-assistant/getting-started-data-migration.md index 856d2e53aa5..d21602a48a4 100644 --- a/_migration-assistant/deploying-migration-assistant/getting-started-data-migration.md +++ b/_migration-assistant/deploying-migration-assistant/getting-started-data-migration.md @@ -118,7 +118,14 @@ These commands deploy the following stacks: Use the following steps to configure and deploy RFS, deploy Migration Assistant, and verify installation of the required stacks: -1. Add the source and target cluster password as separate **Secrets** in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) as an unstructured string. Be sure to copy the secret Amazon Resource Name (ARN) for use during deployment. +1. Add the basic authentication information (username and password) for both the source and target clusters as separate secrets in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html). Each secret must include two key-value pairs: one for the username and one for the password. The plaintext of each secret should resemble the following example: + + ```json + {"username":"admin","password":"myStrongPassword123!"} + ``` + + Be sure to copy the secret Amazon Resource Name (ARN) for use during deployment. + 2. From the same shell as the Bootstrap instance, modify the `cdk.context.json` file located in the `/opensearch-migrations/deployment/cdk/opensearch-service-migration` directory and configure the following settings: ```json @@ -130,8 +137,7 @@ Use the following steps to configure and deploy RFS, deploy Migration Assistant, "endpoint": "", "auth": { "type": "basic", - "username": "", - "passwordFromSecretArn": "" + "userSecretArn": "" } }, "sourceCluster": { @@ -139,8 +145,7 @@ Use the following steps to configure and deploy RFS, deploy Migration Assistant, "version": "", "auth": { "type": "basic", - "username": "", - "passwordFromSecretArn": "" + "userSecretArn": "" } }, "reindexFromSnapshotExtraArgs": "",