Skip to main content

Create an NSS key

Contributors netapp-ranuk

You can create 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. Create the NSS key

You can issue a REST API call to create an NSS key.

HTTP method and endpoint

This REST API call uses the following method and endpoint.

HTTP method Resource path

POST

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

Curl example
curl --request GET \
--location "https://cloudmanager.cloud.netapp.com/ipa/account/<ACCOUNT_ID>/nss-key" \
--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 ID

JSON input example
{
  "username": "zivtest03",
  "password": "password"
}
JSON output example

An NSS key is returned as shown in the JSON output example.

{
    "id": "d69a5214-7d61-486e-8750-8e1f6xxxxx00"
}