Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit bc3051b

Browse files
committed
Merge branch 'ds_MAGEDOC-3232_mftf-credentials' of github.com:magento/devdocs into ds_MAGEDOC-3232_mftf-credentials
2 parents c3a6eb1 + 0782739 commit bc3051b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

mftf/2.3/credentials.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Credentials
55

6-
When you test functionality that involves external services such as UPS, FedEx, PayPal, SignifyD, use the MFTF credentials feature to hide sensitive [data][] like integration tokens, API keys, etc.
6+
When you test functionality that involves external services such as UPS, FedEx, PayPal, or SignifyD, use the MFTF credentials feature to hide sensitive [data][] like integration tokens and API keys.
77

88
## Define sensitive data in `.credentials`
99

@@ -12,7 +12,7 @@ The file contains an example list of keys for fields that can require credential
1212

1313
### Create `.credentials`
1414

15-
To make the MFTF to process the file with credentials, copy `.credentials.example` to `.credentials` while you are at the `magento2/dev/tests/acceptance/` directory:
15+
To make the MFTF process the file with credentials, change directories to `magento2/dev/tests/acceptance/` and copy `.credentials.example` to `.credentials`.
1616

1717
```bash
1818
cd dev/tests/acceptance/
@@ -38,7 +38,7 @@ The command outputs the path if the file is excluded:
3838

3939
### Define sensitive data
4040

41-
Open the file, uncomment the fields you want to use, and add your values:
41+
Open the `.credentials` file, uncomment the fields you want to use, and add your values:
4242

4343
```config
4444
...
@@ -82,9 +82,9 @@ For example:
8282
<fillField stepKey="FillApiToken" selector=".api-token" userInput="{{_CREDS.my_data_key}}" />
8383
```
8484

85-
## Implementations details
85+
## Implementation details
8686

87-
The generated tests does not contain credentials values.
87+
The generated tests do not contain credentials values.
8888
The MFTF dynamically retrieves, encrypts, and decrypts the sensitive data during test execution.
8989
Decrypted credentials do not appear in the console, error logs, or [test reports][].
9090
The decrypted values are only available in the `.credentials` file.
@@ -98,4 +98,4 @@ The MFTF tests delivered with Magento application do not use credentials and do
9898
[`fillField`]: test/actions.html#fillfield
9999
[data]: data.html
100100
[initial setup]: getting-started.html
101-
[test reports]: reporting.html
101+
[test reports]: reporting.html

0 commit comments

Comments
 (0)