Getting a list of realms for Kerberos authentication

Ops Center Common Services REST API Reference Guide

Version
10.9.x
File Size
533 KB
Audience
anonymous
Part Number
MK-99OPS003-06
The following request gets a list of realms for Kerberos authentication registered in Common Services.

Execution permission

You must be a system administrator or a security administrator.

Request line

GET base-URL/security/v1/kerberos-realm

Request message

Object ID
None.
Query parameters
None.
Body
None.

Response message

Body
[
    {
        "id": "8a44f59a6f87e5d4016f880c544c0000",
        "realm": "LDAP-SRV2.SOFT.EXAMPLE.CO.JP",
        "kdcs": [
            "vm.ldap-srv2.soft.example.co.jp"
        ]
    }
]

Attribute

Type

Description

id

string

Object ID of the realm

realm

string

Realm name

kdcs

string[]

List of KDC servers

Coding example

curl -v -X GET -s "https://example.com:443/portal/security/v1/kerberos-realm" -H "Authorization:Bearer eyJhbxxx"
Tip: Because this request uses SSL communication, you must either run the curl command with the root certificate of the Common Services server certificate specified for the --cacert option, or run the command with the -k option specified. (The -k option runs the command by ignoring SSL errors.)