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: docs/credentials.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,12 @@ use the MFTF credentials feature to hide sensitive [data][] like integration tok
5
5
6
6
Currently MFTF supports two types of credential storage: **.credentials file** and **HashiCorp vault**.
7
7
8
-
# Configure File Storage
8
+
#3 Configure File Storage
9
9
10
10
The MFTF creates a sample file for credentials during [initial setup][]: `magento2/dev/tests/acceptance/.credentials.example`.
11
11
The file contains an example list of keys for fields that can require credentials.
12
12
13
-
###Create `.credentials`
13
+
## Create `.credentials`
14
14
15
15
To make the MFTF process the file with credentials, change directories to `magento2/dev/tests/acceptance/` and copy `.credentials.example` to `.credentials`.
16
16
@@ -22,7 +22,7 @@ cd dev/tests/acceptance/
22
22
cp .credentials.example .credentials
23
23
```
24
24
25
-
###Add `.credentials` to `.gitignore`
25
+
## Add `.credentials` to `.gitignore`
26
26
27
27
Verify that the file is excluded from tracking by `.gitignore` (unless you need this behavior):
28
28
@@ -36,7 +36,7 @@ The command outputs the path if the file is excluded:
36
36
.credentials
37
37
```
38
38
39
-
###Define sensitive data in `.credentials` file
39
+
## Define sensitive data in `.credentials` file
40
40
41
41
Open the `.credentials` file, for Magento core credentials, uncomment the fields you want to use, and add your values:
42
42
@@ -69,14 +69,14 @@ Otherwise you are free to use any other `key_name` you like, as they are merely
0 commit comments