Add a SAML certificate
scaleway_iam_add_saml_certificateRegister a new signing certificate for SAML SSO to update org-wide authentication. Requires explicit confirmation and careful IdP configuration to avoid lockout.
Instructions
Register a new signing certificate for SAML SSO. ORG-WIDE BLAST RADIUS: this changes how EVERYONE in the Organization signs in. A misconfigured IdP entity_id/SSO URL, or an expired/wrong certificate, can lock every user out of the console at once - console-based recovery is also gated by this policy if it fails. Verify the IdP-side configuration is correct BEFORE calling this, and keep at least one non-SAML login method (password) available on your own account as a fallback. Requires confirm=true. UNVERIFIED FIELD SHAPE: the exact request body was never live-tested while building this tool (to avoid repeating the empty-body incident documented in docs/gotchas.md) - the PEM certificate is sent under 'certificate', matching Scaleway's SAML certificate conventions elsewhere, but this is a best-effort guess pending a real live test.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be explicitly true - affects org-wide SSO validation. | |
| saml_id | Yes | From scaleway_iam_get_saml_config's id field. | |
| certificate | Yes | The PEM-encoded X.509 certificate the IdP uses to sign assertions. |