Authentication and Password Policy
| Category | Security |
|---|---|
| Version | 1.0 |
| Status | Approved |
| Approved | 2026-03-25 by Mishkin Berteig |
| Next Review | 2027-03-25 |
| ID | POL-3 |
| Document version | policies/authentication-password.md at commit 5debdf12b05f (SHA-256 95334e82598c) |
Linked Controls
- AUTH-2 Multi-factor authentication (MFA)
- AUTH-11 Password Configurations
- AUTH-3 Password management tool
- AUTH-1 Single sign-on (SSO)
Authentication and Password Policy
Purpose
This policy establishes authentication and password requirements for all MaxGood.work systems to prevent unauthorized access.
Scope
All systems requiring authentication, including AWS services, application accounts, third-party services, and administrative interfaces.
Multi-Factor Authentication
MFA is required for:
- All AWS console access (IAM users). Programmatic CLI access uses IAM access keys without MFA
- AWS root account access
- Administrative interfaces where supported. MaxGoodAdmin signs staff in at
/maxadmin/loginwith email and password, and onlyadminaccounts are accepted; it has no MFA, and the compensating controls are role-based least privilege, per-request permission checks, rate-limited sign-in attempts and audit logging of refusals and scoped writes. Kanban Zone does not currently support MFA - All third-party services that support MFA (OpenAI, DocuSign, Stripe, Xero, Zoom, HighLevel, TrustCloud)
- Code repository access (CodeCommit via IAM)
End User Authentication
MaxGood.work end users authenticate via the OTC (One-Time Code) flow:
- A unique code is sent to the user's verified email or messaging channel
- Codes expire after a configured time period
- Migration from passwords to OTC-only authentication is in progress. OTC is fully functional, but some users still have legacy password access
- OTC provides equivalent security to email-based MFA
Password Requirements
For systems requiring passwords:
| Requirement | Standard |
|---|---|
| Minimum length | 12 characters |
| Complexity | Mix of uppercase, lowercase, numbers, and symbols |
| Rotation | On suspected compromise or personnel change |
| Lockout | Rate-limiting and lockout applied where supported (e.g., MaxGoodAI authentication APIs). Not standardized across all systems |
Password Management Tool
- All personnel must use an approved password manager for storing credentials
- Passwords must not be stored in plaintext files, code, environment variables in version control, or shared documents
- All secrets belong in gitignored
.envfiles or AWS Secrets Manager - The MGSecretsSharing tool is available for one-time secure credential sharing
Single Sign-On
Where available, SSO is configured to reduce the number of credentials:
- AWS services authenticate through IAM with centralized credential management
- MaxGoodAdmin authenticates staff against the MaxGoodAI database; each request is authorized by the permissions of the account's staff roles
- Third-party services use SSO where supported by the vendor
API Key Management
- API keys (OpenAI, TrustCloud, Kanban Zone, n8n, Stripe) are stored in environment variables, never in code
- API keys are rotated upon suspected compromise or when staff with access to them leave or change roles
- Each service uses a dedicated API key; keys are not shared across services
- The AI support agent account (a non-human Customer Support Admin account) uses a random password of at least 32 characters, set once through the emailed one-time code and stored only in the gitignored workspace
.env; the agent signs in at the start of each task and keeps its token in memory only. The password is rotated on suspected compromise and when a person with access to it leaves or changes roles - API key usage is monitored through the respective service's audit logs