A newer release of this product is available.
Manage Kerberos realms
Manage Kerberos realm configurations to secure and authenticate network communications within your ONTAP environment. Use these endpoints to retrieve details, create, update, or delete Kerberos realms associated with an SVM.
Examples
Retrieving the Kerberos realm details
# The API: GET /api/protocols/nfs/kerberos/realms # The call: curl -X GET "https://<mgmt-ip>/api/protocols/nfs/kerberos/realms"
Creating the Kerberos realm for an SVM
# The API:
POST /api/protocols/nfs/kerberos/realms
# The call:
curl -d "@test_post_kerb_realm.txt" -X POST "https://<mgmt-ip>/api/protocols/nfs/kerberos/realms"
test_post_kerb_realm.txt(body):
{
"svm.uuid": "05c90dc2-7343-11e8-9eb4-0050568be2b7",
"name": "NFS-NSR-W02.RTP.NETAPP.COM",
"kdc": {
"vendor": "microsoft",
"ip": "10.225.185.112",
"port": 88
},
"comment": "realm",
"ad_server": {
"name": "nfs-nsr-w02.rtp.netapp.com",
"address": "10.225.185.112"
}
}
Updating the Kerberos realm for an SVM
# The API:
PATCH /api/protocols/nfs/kerberos/realms/{svm.uuid}/{name}
# The call:
curl -d "@test_patch_kerb_realm.txt" -X PATCH "https://<mgmt-ip>/api/protocols/nfs/kerberos/realms/05c90dc2-7343-11e8-9eb4-0050568be2b7/NFS-NSR-W02.RTP.NETAPP.COM"
test_patch_kerb_realm.txt(body):
{
"kdc": {
"vendor": "Microsoft",
"ip": "100.225.185.112",
"port": 88
},
"comment": "realm modify",
"ad_server": {
"name": "nfs.netapp.com",
"address": "192.2.18.112"
}
}
Deleting the Kerberos realm for an SVM
# The API:
DELETE /api/protocols/nfs/kerberos/realms/{svm.uuid}/{name}
# The call:
curl -X DELETE "https://<mgmt-ip>/api/protocols/nfs/kerberos/realms/05c90dc2-7343-11e8-9eb4-0050568be2b7/NFS-NSR-W02.RTP.NETAPP.COM"