Holarch
课程章节

培训 · 课程 5. 团队和管理 · 第 5.3 章,共 6 章

5.3 登录、两步登录和通行密钥 2:35

优先使用通行密钥,需要时启用两步登录,并可为组织强制要求。

演示 Holarch 1.7。

您将学到

  • 为账户添加通行密钥并使用它登录
  • 使用身份验证器应用开启两步登录并保存恢复代码
  • 说明通行密钥与两步登录的区别
  • 从“已登录的设备”中让您不认识的设备退出登录

用户如何登录 Holarch,以及组织如何保护其项目:通行密钥、Google 和 Microsoft 登录、身份验证器应用和恢复代码、两步登录开关、为组织强制要求两步登录,以及已登录的设备。

项目文件

  • 起始项目 (.holarch.json;管理项目 → 项目文件 ▾ → 导入项目 (.json)…)

视频从 holarch.app 播放;参见隐私政策。

练习

在 Holarch 中基于 CubeSat EO-1 演示项目亲自完成此操作。

  1. 打开 账户设置,转到 两步登录。单击 添加通行密钥…,输入您的 当前密码,单击 继续,然后在浏览器中确认。
  2. 单击新通行密钥旁边的 重命名,以其所在设备的名称为其命名。
  3. 单击 设置身份验证器应用…,用身份验证器应用扫描代码,输入其 6 位代码,然后单击 开启。
  4. 单击恢复代码的 下载,将文件存放在手机以外的地方,然后单击 我已保存代码。
  5. 在 已登录的设备 下查看每个会话的浏览器和最近活动,并在任何您不认识的会话上单击 退出登录。然后退出登录,再使用通行密钥重新登录,并打开 EO-1。

当“两步登录”卡片显示为开启、您的通行密钥带着设备名称列出,并且您已用它登录时,即完成练习。

自测

  1. 添加通行密钥会开启两步登录吗?
  2. 您丢失了手机,也没有恢复代码。现在怎么办?
  3. 您的组织要求两步登录。对于尚未设置两步登录的组织外部协作者,会发生什么?
显示答案
  1. 添加通行密钥会开启两步登录吗?

    不会。通行密钥本身即可让您登录,无需电子邮件或密码。两步登录是一个单独的开关;开启后,通行密钥也可作为密码之后的第二步。

  2. 您丢失了手机,也没有恢复代码。现在怎么办?

    用您账户的地址向支持团队发送电子邮件。支持团队核实请求者身份后会重置两步登录;登录后请立即重新设置。

  3. 您的组织要求两步登录。对于尚未设置两步登录的组织外部协作者,会发生什么?

    在对方设置两步登录之前,组织的项目不会为其打开,并会优先提供通行密钥选项。该要求适用于打开这些项目的每个人,而不仅仅是成员。为组织强制要求两步登录是 Team 方案的一部分。

延伸阅读

文字稿

显示文字稿 (旁白和屏幕内容)

Introduction

Chapter three: sign-in, two-step and passkeys. These settings protect the accounts that can open your team's projects.

Ways to sign in

Holarch offers three ways to sign in.

On screen: Ways to sign in card.

Passkeys

Open Account Settings, then Sign-in and security. Click Add a Passkey, and confirm with your password.

On screen: Account Settings → Two-step sign-in → Add a Passkey….

Your browser now asks where to keep the passkey, and to confirm with your fingerprint, face or screen lock. That system window cannot be recorded here, so this card stands in for it.

On screen: Card: the browser's passkey sheet.

The passkey is added and listed with this device's name. Next time, click Sign In with a Passkey: no email address and no password. Your password still works on its own.

On screen: Passkeys list.

Two-step sign-in

Two-step sign-in is a separate choice. It makes a password sign-in also ask for a second step. Set up an authenticator app: scan the code with the app, then enter the six-digit code it shows, and click Turn On.

On screen: Set Up Authenticator App… → password → code → Turn On.

Holarch shows ten recovery codes, once. Each signs you in a single time when your phone or passkey is not at hand. Download them, keep them somewhere safe, and click I Saved the Codes.

On screen: Recovery codes → Download → I Saved the Codes.

Two-step sign-in is now on: a password sign-in asks for a code from the app or a passkey, and your other devices were signed out.

On screen: State: On.

Require it for an organization

On the Team plan, an org admin can require two-step sign-in for every project of the organization. In Organization Settings, turn on Require two-step sign-in, and confirm.

On screen: Organization Settings → Require two-step sign-in → Turn On.

Members without two-step sign-in are asked to set it up when they next sign in, with a passkey as the first choice. Until then, the organization's projects do not open for them.

On screen: What members see.

Signed-in devices

Finally, Signed-in devices, in the same section, lists every browser signed in to your account. Sign out the ones you do not recognise, or all others at once.

On screen: Account Settings → Signed-in devices.

Recap

Let's recap. Passkeys are the preferred way to sign in, and a password always keeps working. Two-step sign-in is its own switch, with an authenticator app or a passkey as the second step, and recovery codes. Org admins on the Team plan can require it.

Next, you connect tools to Holarch: API tokens, and Claude.