The requested article is not available. Either it doesn't apply to this version of the product or the relevant information is organized differently in this version of the docs. You can search, browse, or go back to the other version.
Protocols NFS Kerberos realms endpoint overview
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"