From cf6b087491243993f77fe614b8c78c43cdcb59bc Mon Sep 17 00:00:00 2001
From: rr-bw <102181210+rr-bw@users.noreply.github.com>
Date: Wed, 25 Jun 2025 09:32:47 -0700
Subject: [PATCH] docs(password-management): [PM-18573] Document Master
Password Management Flows (#15248)
Adds documentation for our set/change password flows (master password management flows)
---
.../src/auth/password-management/README.md | 216 ++++++++++++++++++
1 file changed, 216 insertions(+)
create mode 100644 libs/angular/src/auth/password-management/README.md
diff --git a/libs/angular/src/auth/password-management/README.md b/libs/angular/src/auth/password-management/README.md
new file mode 100644
index 00000000000..ca5a6355fcb
--- /dev/null
+++ b/libs/angular/src/auth/password-management/README.md
@@ -0,0 +1,216 @@
+# Master Password Management Flows
+
+The Auth Team manages several components that allow a user to either:
+
+1. Set an initial master password
+2. Change an existing master password
+
+This document maps all of our password management flows to the components that handle them.
+
+
+
+**Table of Contents**
+
+> - [The Base `InputPasswordComponent`](#the-base-inputpasswordcomponent)
+> - [Set Initial Password Flows](#set-initial-password-flows)
+> - [Change Password Flows](#change-password-flows)
+
+
+
+**Acronyms**
+
+
| Flow | +Route (on which user sets MP) |
+ Component(s) | +
|
+ + Account Registration + +
+ + + |
+ /finish-signup |
+
+ RegistrationFinishComponent
+ + - embeds InputPasswordComponent
+ |
| + Trial Initiation (🌐 web only) + | +/trial-initiation or/secrets-manager-trial-initiation |
+
+ CompleteTrialInitiationComponent
+ + - embeds InputPasswordComponent
+ |
+
|
+ + Upon Authentication (an existing authed user) + +
+ + + |
+ /set-initial-password |
+
+ SetInitialPasswordComponent
+ + - embeds InputPasswordComponent
+ |
+
| Flow | +Route (on which user changes MP) |
+ Component(s) | +
|
+ + Account Settings + (Docs) + + (🌐 web only) + + User changes MP via account settings. ++ |
+
+ /settings/security/password
+ ( security-routing.module.ts)
+ |
+
+ PasswordSettingsComponent
+ - embeds ChangePasswordComponent
+ - embeds InputPasswordComponent
+ |
+
|
+ + Upon Authentication + +
+ + |
+ /change-password |
+
+ ChangePasswordComponent
+ - embeds InputPasswordComponent
+ |
+
|
+ + Emergency Access Takeover + (Docs) + + (🌐 web only) + + Emergency access Grantee changes the MP for the Grantor. ++ |
+ Grantee opens dialog while on /settings/emergency-access |
+
+ EmergencyAccessTakeoverDialogComponent
+ - embeds InputPasswordComponent
+ |
+
|
+ + Account Recovery + (Docs) + + (🌐 web only) + + Org member with "manage account recovery" permission changes the MP for another org user via Account Recovery. ++ |
+ Org member opens dialog while on /organizations/{org-id}/members |
+
+ AccountRecoveryDialogComponent
+ - embeds InputPasswordComponent
+ |
+