Resource URL: /platform/<<version=1>>/auth/settings/krb5/defaults

    Overview: This resource contains krb5 authentication settings.

     Methods: GET, PUT

********************************************************************************

Method GET: Retrieve the krb5 settings.

       URL: GET /platform/<<version=1>>/auth/settings/krb5/defaults

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "type": "object", 
      "properties": {
        "krb5_settings": {
          "type": "object", 
          "description": "Specifies the properties for the global Kerberos authentication settings.", 
          "properties": {
            "dns_lookup_kdc": {
              "type": [
                {
                  "type": "boolean", 
                  "description": "If true, find KDCs through the DNS."
                }, 
                {
                  "type": "null"
                }
              ]
            }, 
            "dns_lookup_realm": {
              "type": [
                {
                  "type": "boolean", 
                  "description": "If true, find realm names through the DNS."
                }, 
                {
                  "type": "null"
                }
              ]
            }, 
            "allow_weak_crypto": {
              "type": [
                {
                  "type": "boolean", 
                  "description": "If true, allow the use of DES encryption"
                }, 
                {
                  "type": "null"
                }
              ]
            }, 
            "default_realm": {
              "type": [
                {
                  "minLength": 0, 
                  "type": "string", 
                  "description": "Specifies the realm for unqualified names.", 
                  "maxLength": 255
                }, 
                {
                  "type": "null"
                }
              ]
            }, 
            "always_send_preauth": {
              "type": [
                {
                  "type": "boolean", 
                  "description": "If true, always attempts to preauthenticate to the domain controller."
                }, 
                {
                  "type": "null"
                }
              ]
            }
          }
        }
      }
    }
  ]
}

********************************************************************************

Method PUT: Modify the krb5 settings.

       URL: PUT /platform/<<version=1>>/auth/settings/krb5/defaults

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "description": "Specifies the properties for the global Kerberos authentication settings.", 
  "properties": {
    "dns_lookup_kdc": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "boolean", 
          "description": "If true, find KDCs through the DNS."
        }
      ]
    }, 
    "dns_lookup_realm": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "boolean", 
          "description": "If true, find realm names through the DNS."
        }
      ]
    }, 
    "allow_weak_crypto": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "boolean", 
          "description": "If true, allow the use of DES encryption"
        }
      ]
    }, 
    "default_realm": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "minLength": 0, 
          "type": "string", 
          "description": "Specifies the realm for unqualified names.", 
          "maxLength": 255
        }
      ]
    }, 
    "always_send_preauth": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "boolean", 
          "description": "If true, always attempts to preauthenticate to the domain controller."
        }
      ]
    }
  }
}

There is no JSON response body for this method.
