Update the Organization's security settings
scaleway_iam_update_security_settingsChange organization-wide authentication security settings in Scaleway IAM, such as login attempts, session durations, and password renewal. Requires explicit confirmation to apply.
Instructions
Change org-wide auth policy. ORG-WIDE BLAST RADIUS, BOTH DIRECTIONS: tightening (e.g. lowering login_attempts_before_locked, enabling enforce_password_renewal) can lock out users who haven't met the new requirement yet; loosening (raising session/expiration durations) weakens the org's security posture for everyone. Only the fields you pass are changed - live-verified that an empty call leaves every current value untouched, unlike SAML/SCIM's enable endpoints (see docs/gotchas.md). Requires confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be explicitly true - changes org-wide authentication policy. | |
| grace_period_duration | No | Grace period before a locked/expired account is fully revoked, e.g. '259200s' (3 days). | |
| enforce_password_renewal | No | Force periodic password changes. | |
| max_login_session_duration | No | Max session lifetime, e.g. '2592000s' (30 days). | |
| login_attempts_before_locked | No | Failed login attempts before an account is locked. | |
| max_api_key_expiration_duration | No | Max allowed API key expiration duration, e.g. '0s' for no cap. |