hmc_create_password_policy
Create a new HMC password policy specifying age limits, minimum length, character class counts, and history size to enforce password rules.
Instructions
Create a new HMC password policy.
policy_name is the unique name for the policy. pwage is the maximum password age in days (0 = never expires). min_length is the minimum password length. min_digits, min_uppercase, min_lowercase, and min_special set character-class minimums. hist_size controls how many previous passwords cannot be reused. warn_pwage is the number of days before expiry to warn the user. min_pwage is the minimum days before a password may be changed. Confirm the policy_name before calling. Returns the created policy resource dict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pwage | No | ||
| hist_size | No | ||
| min_pwage | No | ||
| min_digits | No | ||
| min_length | No | ||
| warn_pwage | No | ||
| min_special | No | ||
| policy_name | Yes | ||
| min_lowercase | No | ||
| min_uppercase | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |