|
1 | 1 | --- |
2 | 2 | title: Sign-in enforcement |
3 | 3 | linkTitle: Sign-in enforcement |
4 | | -weight: 35 |
| 4 | +weight: 22 |
5 | 5 | description: Require Docker Sandboxes users to sign in as members of your organization, enforced through endpoint management. |
6 | 6 | keywords: docker sandboxes, sign-in enforcement, organization enforcement, sbx login, MDM, configuration profile, registry key, allowedOrgs |
7 | 7 | --- |
@@ -42,17 +42,17 @@ Other commands require a valid signed-in session, so they fail after a denied |
42 | 42 | login until the user signs in with an allowed account. |
43 | 43 |
|
44 | 44 | Enforcement applies at login time only. There's no per-command or per-request |
45 | | -check. A few key consequences follow from this: |
46 | | - |
47 | | -- **Fail-closed.** If the Docker Hub API is unreachable or returns an error, |
48 | | - login is denied. Users can't bypass enforcement by going offline. |
49 | | -- **Already signed-in users aren't affected immediately.** If a user was signed |
50 | | - in before the configuration was deployed, they keep their session until it |
51 | | - ends. To re-trigger the check, they run `sbx login` again. |
52 | | -- **Automatic sign-in is also checked.** If a user's Docker session expires |
53 | | - while they use the CLI from an interactive terminal, the CLI starts the |
54 | | - sign-in flow automatically, and the enforcement check runs against that |
55 | | - sign-in the same way it does for an explicit `sbx login`. |
| 45 | +check. This has a few key consequences: |
| 46 | + |
| 47 | +- Enforcement is fail-closed. If the Docker Hub API is unreachable or returns |
| 48 | + an error, login is denied. Users can't bypass enforcement by going offline. |
| 49 | +- Users who are already signed in aren't affected immediately. If a user was |
| 50 | + signed in before the configuration was deployed, they keep their session |
| 51 | + until it ends. To re-trigger the check, they run `sbx login` again. |
| 52 | +- Automatic sign-in is also checked. If a user's Docker session expires while |
| 53 | + they use the CLI from an interactive terminal, the CLI starts the sign-in |
| 54 | + flow automatically, and the enforcement check runs against that sign-in the |
| 55 | + same way it does for an explicit `sbx login`. |
56 | 56 |
|
57 | 57 | > [!NOTE] |
58 | 58 | > A denied user is signed out, so they can't run `sbx ls` or `sbx rm` to clean |
|
0 commit comments