Admin Best Practices
When Guardrails creates a workspace, it provisions a local directory with a single administrator account ([email protected]). This default setup gets you in the door, but it's not secure enough for production use. The practices below address the most common security gaps and should be implemented as soon as your workspace is live.
Why These Matter
The default admin account uses a system-generated password that was displayed once during installation. If that password was shared, written down, or never changed, it's a risk. If your only authentication source is an external directory (like SAML) and that directory goes down, you could be locked out entirely. And if API access keys never expire, departed employees may retain programmatic access indefinitely.
These aren't theoretical concerns. They're the scenarios that enterprise security teams flag during audits and that cause real incidents during outages.
The Practices
Each practice below links to a step-by-step guide with the exact procedure in the new UI.
1. Change the Default Admin Password
The [email protected] account is created with a one-time password during installation. Change it immediately to prevent unauthorized access.
Change the default admin password
2. Create a Break Glass User
Create a second local administrator account that can access the workspace if your primary authentication directory (SAML, Google) is unavailable. This is your insurance policy against IdP outages and misconfigurations.
3. Delete the Default Admin (Optional)
Some organizations require default accounts to be removed. If you've created a break glass user with Turbot/Owner permissions and verified it works, you can safely delete the original [email protected] account.
4. Set Password Expiration for Local Admins
By default, local directory passwords expire after 365 days (the CIS recommendation). For break glass accounts that must always work, set the expiration to Never. For regular local accounts, adjust the period to match your organization's policy.
Set password expiration policy
5. Set Minimum Password Length
Guardrails defaults to a 14-character minimum for local directory passwords. Adjust this to match your organization's requirements.
6. Configure API Key Expiration
By default, Guardrails API access keys never expire. This means a departed employee's keys continue to work indefinitely. Configure key expiration policies to automatically deactivate stale keys, while excluding break glass accounts that must retain permanent access.
Quick Checklist
| Practice | Risk if skipped |
|---|---|
| Change default admin password | Unauthorized access via known/shared credentials. |
| Create break glass user | Complete lockout during IdP outages. |
| Delete default admin | Lingering default account with potentially weak credentials. |
| Set password expiration | Stale passwords that never rotate. |
| Set minimum password length | Weak passwords that are easily guessed. |
| Configure API key expiration | Permanent programmatic access for departed users. |
Next Steps
- Permissions, Understand the permission model that these admin accounts use.
- Directories, Learn about the authentication sources these practices apply to.
- Advanced IAM, Enterprise strategies including disaster planning and pre-approved privileges.