@@ -8,52 +8,73 @@ _This tutorial provides step-by-step instructions on how to rotate a Flexport AP
8
8
9
9
## Generate a new Flexport API key
10
10
11
- ### Step 1 - Navigate to the [ Dashboard] ( https://portal.flexport.com/ )
11
+ ### Step 1 - Navigate to the dashboard
12
+ Dashboard found at < https://portal.flexport.com >
12
13
13
14
### Step 2 - Click on 'Settings' at the bottom of the left panel, or from the profile dropdown on the top right.
15
+
14
16
![ ] ( /images/flexport/1.png )
15
17
![ ] ( /images/flexport/2.png )
16
18
17
- ### 3. Navigate to the '[ API Tokens] ( https://portal.flexport.com/settings/api-tokens ) ' tab.
19
+ ### 3. Navigate to the 'API Tokens' tab.
20
+ API tokens found at < https://portal.flexport.com/settings/api-tokens >
21
+
18
22
#### 3a. Click 'Generate API Token'
23
+
19
24
![ ] ( /images/flexport/3.png )
20
25
26
+ ### 4. Select _ only_ the permissions that are necessary.
21
27
22
- ### 4. Select * only* the permissions that are necessary.
23
28
#### 4a. Give it a descriptive name.
29
+
24
30
#### 4b. Click 'Generate'.
31
+
25
32
![ ] ( /images/flexport/4.png )
26
33
27
34
### 5. You can find your new key under the 'API Tokens' panel.
35
+
28
36
#### 5a. Copy the key and store it in a password manager or secure vault.
37
+
29
38
![ ] ( /images/flexport/5.png )
39
+
30
40
> Note: You will notice that the status for your new key is set to ` ACTIVE ` .
31
41
32
42
---
33
43
34
44
## Revoking a Flexport API key
35
45
36
- ### Step 1 - Navigate to the [ Dashboard] ( https://portal.flexport.com/ )
46
+ ### Step 1 - Navigate to the dashboard
47
+ Dashboard found at < https://portal.flexport.com >
48
+
37
49
38
50
### Step 2 - Click on 'Settings' at the bottom of the left panel, or from the profile dropdown on the top right.
51
+
39
52
![ ] ( /images/flexport/1.png )
40
53
![ ] ( /images/flexport/2.png )
41
54
42
- ### 3. Navigate to the '[ API Tokens] ( https://portal.flexport.com/settings/api-tokens ) ' tab.
43
- #### 3a. Find the token you would like to rotate.
44
- #### 3b. Click the 'Edit' button.
55
+ ### Step 3 - Navigate to the 'API Tokens' tab.
56
+ API tokens found at < https://portal.flexport.com/settings/api-tokens >
57
+
58
+ #### Step 3a - Find the token you would like to rotate.
59
+
60
+ #### Step 3b - Click the 'Edit' button.
61
+
45
62
![ ] ( /images/flexport/6.png )
46
63
47
- ### 4. Click the 'Deactivate token' button.
64
+ ### Step 4 - Click the 'Deactivate token' button.
65
+
48
66
![ ] ( /images/flexport/7.png )
49
67
50
- ### 5. On the 'Deactivate token' modal, click the 'Yes, Deactivate Token' button.
68
+ ### Step 5 - On the 'Deactivate token' modal, click the 'Yes, Deactivate Token' button.
69
+
51
70
![ ] ( /images/flexport/8.png )
52
71
53
- ### 6. Go back to the 'API Tokens' tab, and ensure the token status is set to 'INACTIVE'.
72
+ ### Step 6 - Go back to the 'API Tokens' tab, and ensure the token status is set to 'INACTIVE'.
73
+
54
74
![ ] ( /images/flexport/9.png )
55
75
56
76
---
57
77
58
78
## Resources
79
+
59
80
- [ Flexport's Docs] ( https://developers.flexport.com/tutorials/using-api-credentials )
0 commit comments