Skip to main content

Add service principal credentials

POST /accounts/{accountPublicId}/azure/service-principal

Creates new ARN credentials for a specified account public ID.

Token usage: NetApp Console user token.

Parameters

Name Type In Required Description

accountPublicId

string

path

True

isGov

boolean

query

False

Indicates whether the service principal is located in the AWS GovCloud (US) location

x-simulator

string

header

False

Request Body

Name Type Required Description

tenantId

string

True

clientId

string

True

clientSecret

string

True

name

string

True

Example request
{
  "tenantId": "string",
  "clientId": "string",
  "clientSecret": "string",
  "name": "string"
}

Response

Status: 200, Successful stored service principal credentials
Name Type Required Description

credentialsId

string

True

credentialsType

string

True

extra

extra

True

isSimulated

boolean

True

Error

Status: 404, Account not found

Definitions

See Definitions

extra