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: content/manuals/security/for-developers/2fa/_index.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,6 @@ code. Each recovery code is unique and specific to your account. You can use
17
17
this code to recover your account in case you lose access to your authenticator
18
18
app. See [Recover your Docker account](recover-hub-account/).
19
19
20
-
21
20
## Prerequisites
22
21
23
22
You need a mobile phone with a time-based one-time password (TOTP) authenticator
@@ -27,11 +26,11 @@ Authenticator with a registered YubiKey.
27
26
## Enable two-factor authentication
28
27
29
28
1. Sign in to your [Docker account](https://app.docker.com/login).
30
-
2. Select your avatar and then from the drop-down menu, select **Account settings**.
29
+
2. Select your avatar and then from the drop-down menu, select **Account settings**.
31
30
3. Navigate to the **Security** section, then select **Two-factor authentication**.
32
31
4. Enter your account password, then select **Confirm**.
33
32
5. Save your recovery code and store it somewhere safe. You can use your recovery code to recover your account in the event you lose access to your authenticator app.
34
-
6. Use a TOTP mobile app to scan the QR code or enter the text code.
33
+
6. Use a Time-based One-time password (TOTP) mobile app to scan the QR code or enter the text code.
35
34
7. Once you've linked your authenticator app, enter the six-digit code in the text-field.
Copy file name to clipboardExpand all lines: content/manuals/security/for-developers/access-tokens.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ linkTitle: Access tokens
4
4
description: Learn how to create and manage your personal Docker access tokens
5
5
to securely push and pull images programmatically.
6
6
keywords: docker hub, hub, security, PAT, personal access token
7
-
aliases:
7
+
aliases:
8
8
- /docker-hub/access-tokens/
9
9
---
10
10
@@ -13,8 +13,8 @@ You can create a personal access token (PAT) to use as an alternative to your pa
13
13
Compared to passwords, PATs provide the following advantages:
14
14
15
15
- You can investigate when the PAT was last used and then disable or delete it if you find any suspicious activity.
16
-
- When using an access token, you can't perform any admin activity on the account, including changing the password. It protects your account if your computer is compromised.
17
-
16
+
- When using an access token, you can't perform any administrative activity on the account, including changing the password. It protects your account if your computer is compromised.
17
+
18
18
Access tokens are also valuable for building integrations, as you can issue multiple tokens, one for each integration, and revoke them at
19
19
any time.
20
20
@@ -33,7 +33,7 @@ any time.
33
33
4. Select **Generate new token**.
34
34
35
35
5. Add a description for your token. Use something that indicates the use case or purpose of the token.
36
-
36
+
37
37
6. Set the access permissions.
38
38
The access permissions are scopes that set restrictions in your
39
39
repositories. For example, for Read & Write permissions, an automation
@@ -81,4 +81,4 @@ You can rename, activate, deactivate, or delete a token as needed. You can manag
81
81
82
82
When you sign in to your Docker account with Docker Desktop, Docker Desktop generates an authentication token on your behalf. When you interact with Docker Hub using the Docker CLI, the CLI uses this token for authentication. The token scope has Read, Write, and Delete access. If your Docker Desktop session expires, the token is automatically removed locally.
83
83
84
-
You can have up to 5 auto-generated tokens associated with your account. These are deleted and created automatically based on usage and creation dates. You can also delete your auto-generated tokens as needed. See[Modify existing tokens](#modify-existing-tokens).
84
+
You can have up to 5 auto-generated tokens associated with your account. These are deleted and created automatically based on usage and creation dates. You can also delete your auto-generated tokens as needed. For more information, see[Modify existing tokens](#modify-existing-tokens).
0 commit comments