Specifies how to authenticate before obtaining delegation tokens.
Only one authentication approach is active at a time, indicated by authType.
/{serviceName/kerberosCredentials}
CM API endpoint of service to obtain a fresh TGT. The service may be on the local cluster
(no peerName) or on a remote cluster (with peerName).| name | data type | description |
|---|---|---|
| authType | AuthType | The authentication approach to use. |
| keytabPath | string | Local path on the SCM server host to the keytab file.
Required for AuthType#CUSTOM_KEYTAB; ignored otherwise. |
| principal | string | Kerberos principal to authenticate as.
Required for AuthType#CUSTOM_KEYTAB; ignored otherwise. |
| service | ApiServiceRef | The service whose /kerberosCredentials endpoint is called to obtain a fresh TGT.
The service may be local (no |
Example
{
"authType" : "KERBEROS_CREDENTIALS_ENDPOINT",
"keytabPath" : "...",
"principal" : "...",
"service" : {
"peerName" : "...",
"clusterName" : "...",
"clusterDisplayName" : "...",
"serviceName" : "...",
"serviceDisplayName" : "...",
"serviceType" : "..."
}
}