Skip to main content

Get an NSS key

Contributors netapp-ranuk

You can retrieve the key for a specific NetApp Support Site account.

Step 1. Select the account

Perform the workflow Get supported services and choose the accountId value for the path parameter.

Step 2. Select the NSS key to retrieve

Perform the workflow Get NSS keys and choose the id value for the nssKeyId path parameter.

Step 3. Retrieve the NSS key

You can issue the REST API call to retrieve the NSS key.

HTTP method and endpoint

This REST API call uses the following method and endpoint.

HTTP method Resource path

GET

/ipa/account/{accountId}/nss-keys/{nssKeyId}

Curl example
curl --request GET \
--location "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>"
Additional input parameters

The JSON input example includes the minimum list of parameters.

Parameter Type Required Description

<ACCOUNT_ID> (accountId)

Path

Yes

Identifies the account

<NSS_KEY_ID> `(nssKeyId)

Path

Yes

Identifies the NSS key ID

JSON output example

The NSS key and related information is returned as shown in the JSON output example.

Example output
{
    "id": "d69a5214-7d61-486e-8750-8e1f68601c43",
    "username": "misterziv",
    "resources": [],
    "credentialType": "password"
}