Set Password Expiration Policy

By default, local directory passwords expire after 8,760 hours (365 days), following CIS recommendations. You can adjust this per-user or workspace-wide, and for break glass accounts you should set it to never expire.

Prerequisites

Step 1: Open the New Policy Setting Form

Navigate to Policies in the sidebar and click New Policy Setting in the top right to open the Create Policy Setting form.

Step 2: Select the Policy Type

For the Policy Type, search for Password Expiration Period and select Password expiration period in hours (Turbot > IAM > Local Directory > User).

Create Policy Setting form with the Policy Type picker filtered to Password Expiration Period

Step 3: Choose the Resource and Value

For the Resource, select Turbot (the workspace root) to apply to all local users, or a specific user resource to set an expiration for just that user, which is useful for break glass accounts. Because this policy is a number, the Setting is a number field.

Create Policy Setting form with Password expiration period in hours set to 8760 on the Turbot workspace root

FieldDescription
SettingThe expiration period in hours. Range: -1 to 8760. Common values: 8760 (1 year, CIS default), 4380 (6 months), 2160 (90 days), -1 (never expire). Toggle Enable calculated mode to compute the value from a template instead.
PrecedenceRequired enforces the value on all descendants. Recommended allows exceptions.

Click Create. The policy takes effect immediately.

[!TIP] For break glass accounts, set the expiration to -1 (never) at the individual user level rather than at the workspace root. This ensures regular users still follow your organization's rotation policy.

Troubleshooting

IssueSolution
Can't find the policy typeMake sure the turbot-iam mod is installed. Search for "password expiration" in the Policy Type field.
Policy doesn't seem to take effectThe policy applies to future password resets, not retroactively. The user's current password expiration is based on when it was last set.

Next Steps