Disable Password Authentication
For SaaS environments, see Disable Password Authentication (SaaS).
On-Prem Deployments
As a super administrator, perform the following:
Get the Sysdig Platform settings:
GET https://<URL-installation>/api/admin/auth/settingsReplace <URL-installation> with the URL of your on-prem deployment.
Retrieve the specific settings associated with the SSO setup. In a typical scenario, only one IDP exists per deployment.
GET https://<URL-installation>/api/auth/settings/{id}The setting is displayed in a JSON file.
In the JSON file, change the following from false to true:
settings/forbidPasswordLogin: TrueUpdate the setting with a request to the same URL with the same JSON, with the changed parameter. URL depends on the type of deployment.
PUT https://app.sysdigcloud.com/api/admin/auth/settings/{id}
Migrating from the ConfigMap Method
Previously, the sysdigcloud.restrict.password.login parameter in the
Kubernetes ConfigMap was used to disable password authentication.
After installing 3.2.0, deployments utilizing the
sysdigcloud.restrict.password.login settings will be automatically
migrated to use the new settings.