You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dev/tests/unit/Magento/FunctionalTestFramework/DataGenerator/Handlers/SecretStorage/AwsSecretsManagerStorageTest.php
To use Aws Secret Manager, the Aws region to connect to is required. You can set it through environment variable [`CREDENTIAL_AWS_SECRET_MANAGER_REGION`][] in `.env`.
177
+
To use AWS Secrets Manager, the AWS region to connect to is required. You can set it through environment variable [`CREDENTIAL_AWS_SECRETS_MANAGER_REGION`][] in `.env`.
178
178
179
-
MFTF uses the recommended [Default Credential Provider Chain][credential chain] to establish connection to Aws Secret Manager service.
179
+
MFTF uses the recommended [Default Credential Provider Chain][credential chain] to establish connection to AWS Secrets Manager service.
180
180
You can setup credentials according to [Default Credential Provider Chain][credential chain] and there is no MFTF specific setup required.
181
-
Optionally, however, you can explicitly set Aws profile through environment variable [`CREDENTIAL_AWS_SECRET_MANAGER_PROFILE`][] in `.env`.
181
+
Optionally, however, you can explicitly set AWS profile through environment variable [`CREDENTIAL_AWS_SECRETS_MANAGER_PROFILE`][] in `.env`.
182
182
183
183
```conf
184
-
# Sample Aws Secret Manager configuration
185
-
CREDENTIAL_AWS_SECRET_MANAGER_REGION=us-east-1
186
-
CREDENTIAL_AWS_SECRET_MANAGER_PROFILE=default
184
+
# Sample AWS Secrets Manager configuration
185
+
CREDENTIAL_AWS_SECRETS_MANAGER_REGION=us-east-1
186
+
CREDENTIAL_AWS_SECRETS_MANAGER_PROFILE=default
187
187
```
188
188
189
189
## Configure multiple credential storage
@@ -192,7 +192,7 @@ It is possible and sometimes useful to setup and use multiple credential storage
192
192
In this case, the MFTF tests are able to read secret data at runtime from all storage options, in this case MFTF use the following precedence:
Copy file name to clipboardExpand all lines: etc/config/.env.example
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,9 @@ BROWSER=chrome
34
34
#CREDENTIAL_VAULT_ADDRESS=http://127.0.0.1:8200
35
35
#CREDENTIAL_VAULT_SECRET_BASE_PATH=secret
36
36
37
-
#*** To use AWS Secret Manager to manage _CREDS secrets, uncomment and set region, profile is optional, when omitted, AWS default credential provider chain will be used ***#
38
-
#CREDENTIAL_AWS_SECRET_MANAGER_PROFILE=default
39
-
#CREDENTIAL_AWS_SECRET_MANAGER_REGION=us-east-1
37
+
#*** To use AWS Secrets Manager to manage _CREDS secrets, uncomment and set region, profile is optional, when omitted, AWS default credential provider chain will be used ***#
38
+
#CREDENTIAL_AWS_SECRETS_MANAGER_PROFILE=default
39
+
#CREDENTIAL_AWS_SECRETS_MANAGER_REGION=us-east-1
40
40
41
41
#*** Uncomment these properties to set up a dev environment with symlinked projects ***#
0 commit comments