fortios_system_password_policy
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_system_password_policy
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| enable_log | bool | false | ||
| member_path | str | |||
| member_state | str | |||
| system_password_policy | dict | |||
| vdom | str | root |
Example
yaml
- fortinet.fortios.fortios_system_password_policy:
system_password_policy:
apply_to: admin-password
change_4_characters: enable
expire_day: "90"
expire_status: enable
login_lockout_upon_downgrade: enable
login_lockout_upon_weaker_encryption: enable
min_change_characters: "0"
min_lower_case_letter: "1"
min_non_alphanumeric: "1"
min_number: "1"
min_upper_case_letter: "1"
minimum_length: "12"
reuse_password: enable
reuse_password_limit: "0"
status: enable
vdom: root
name: Configure password policy for locally defined administrator passwords and IPsec VPN pre-shared keys.