{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pure-storage/json-schema/pure-storage-admin-settings-schema.json",
  "title": "AdminSettings",
  "description": "Global settings for administrative accounts.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pure-storage-administrators-api-openapi.yml#/components/schemas/AdminSettings",
  "type": "object",
  "properties": {
    "lockout_duration": {
      "description": "The lockout duration, in milliseconds, if a user is locked out after reaching the maximum\nnumber of login attempts. Ranges from 1 second to 90 days.\n",
      "type": "integer",
      "format": "int64",
      "minimum": 1000,
      "maximum": 7776000000
    },
    "max_login_attempts": {
      "description": "Maximum number of failed login attempts allowed before the user is locked out.\n",
      "type": "integer",
      "format": "int32",
      "minimum": 1,
      "maximum": 20
    },
    "min_password_length": {
      "description": "Minimum password length. If not specified, defaults to 1.\n",
      "type": "integer",
      "format": "int32"
    },
    "required_authentication_methods": {
      "$ref": "#/$defs/_adminSettingsRequiredAuthenticationMethods"
    },
    "single_sign_on_enabled": {
      "description": "If `true`, then single sign-on is enabled for the array.\n",
      "type": "boolean"
    }
  },
  "$defs": {
    "_adminSettingsRequiredAuthenticationMethods": {
      "description": "Authentication methods that are required for the array on specific user\ninterfaces.\n",
      "type": "object",
      "properties": {
        "ssh": {
          "description": "List of authentication methods that are required for SSH.\nPossible values include `password`, `key`, and `default`.\n`securid-am` is a possible value, but it cannot be changed through PATCH.\nIf not specified, defaults to `default`.\nSpecify `password` and `key` authentication methods to set up\nlocal multi-factor authentication for SSH.\n",
          "type": "array",
          "items": {
            "type": "string",
            "description": "Authentication method required for SSH.\n"
          }
        },
        "web_ui": {
          "description": "List of authentication methods that are required for the web UI.\nPossible values include `password`, `webauthn`, and `default`.\nOther possible values include `saml2` and `securid-am`\nbut these cannot be changed through PATCH.\nIf not specified, defaults to `default`.\nSpecify `password` and `webauthn` authentication methods\nto set up local multi-factor authentication for web UI.\nExternal multi-factor authentication is configured through SAML2 SSO endpoints.\n",
          "type": "array",
          "items": {
            "type": "string",
            "description": "Authentication method required for the web UI.\n"
          }
        }
      }
    }
  }
}