Get an NSS key
You can retrieve the key for a specific NetApp Support Site account.
1. Select the account
Perform the workflow Get supported services and choose the accountId
value for the path parameter.
2. Select the NSS key to retrieve
Perform the workflow Get NSS keys and choose the id
value for the nssKeyId
path parameter.
3. Retrieve the NSS key
HTTP method | Resource path |
---|---|
GET |
/ipa/account/{accountId}/nss-keys/{nssKeyId} |
- curl example
curl --location --request GET 'https://cloudmanager.cloud.netapp.com/ipa/account/<ACCOUNT_ID>/nss-key/<NSS_KEY_ID>' --header 'Content-Type: application/json' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>'
- Input parameters
-
Path parameters:
-
<ACCOUNT_ID>
(accountId)
-
<NSS_KEY_ID>
(nssKeyId)
-
- Output
-
The NSS key and related information is returned as shown in the JSON output example.
- JSON output example
{
"id": "d69a5214-7d61-486e-8750-8e1f68601c43",
"username": "misterziv",
"resources": [],
"credentialType": "password"
}