#How to authenticate a domain account?

1 messages · Page 1 of 1 (latest)

eager umbra
#

Hi, we're having trouble using the API with an Active Directory account. The REST API and python library both return

{"error":{"code":"6691623", "message":"User is not authorized."}}

for a call like

curl -k -X GET "https://server.domain/api/storage/volumes?return_records=true&return_timeout=15" -H "accept: application/json" -H "authorization: Basic WT...."

I've been shared a screenshot from the server configuration which reads like the image I attached.

Should there be something else we need to configure?

ionic oxide
#

The vsadmin role is for a data svm. If you are trying to query the cluster, the user would need to be created under the cluster SVM.