Skip to main content
REST API reference
A newer release of this product is available.

View and update Kerberos interfaces

Access and modify Kerberos interface configurations to manage secure connections using the ONTAP REST API. Retrieve current settings or update them as needed to ensure proper authentication and encryption mechanisms are in place for NFS protocols.

Examples

Retrieving the Kerberos interface configuration details

# The API:
GET /api/protocols/nfs/kerberos/interfaces

# The call:
curl -X GET "https://<mgmt-ip>/api/protocols/nfs/kerberos/interfaces"

Updating the Kerberos interface configuration

# The API:
PATCH /api/protocols/nfs/kerberos/interfaces/{interface.uuid}

# The call:
curl -d "@test_patch_kerb_interface.txt" -X PATCH "https://<mgmt-ip>/api/protocols/nfs/kerberos/interfaces/e62936de-7342-11e8-9eb4-0050568be2b7"
test_patch_kerb_interface.txt(body):
{
 "enabled" : "true",
 "spn": "nfs/datalif1-vsim3-d1.sim.netapp.com@NFS-NSR-W01.RTP.NETAPP.COM",
 "user" :"administrator",
 "password" :"Hello123!"
}