Available in VPC
Download the Kerberos keytab file of a Data Forest account.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
POST | /api/v2/accounts/getKerberosKeytab |
Request headers
For information about the headers common to all Data Forest APIs, see Data Forest request headers.
Note
For the getKerberosKeytab API, the request header Accept: application/octet-stream
is required.
Request body
You can include the following data in the body of your request:
Field | Type | Required | Description |
---|---|---|---|
id |
String | Required | Account's unique identifier
|
Request example
The request example is as follows:
curl --location --request POST 'https://df.apigw.ntruss.com/api/v2/accounts/getKerberosKeytab' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'Accept: application/octet-stream' \
--data '{
"id": "Arv**************kfn"
}'
Response
This section describes the response format.
Response status codes
For information about the HTTP status codes common to all Data Forest APIs, see Data Forest response status codes.
Response example
When the API is processed successfully, the Kerberos keytab file for the corresponding account is downloaded.
- File name:
{accountName}.keytab