NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Active IQ Unified Manager Discussions

Access Active IQ unified manger API using certificate file instead of password

Abhilash9
2,671 Views

 

I have a need to run a script in 'Active IQ unified manger' server using the script option. It's all working normal when I provide the username and password as show below, but I need to remove this and use the certificate-based login, please suggest how this can be done. I have generated a self-signed certificate, but not sure how this can be associated with the admin user of the unified manager.  

 

AIQ_username = 'admin'
AIQ_password = 'xxxx'
AIQ_auth = HTTPBasicAuth(AIQ_username, AIQ_password)
AIQ_api_url = f"https://localhost/api/datacenter/storage/volumes?name=xxxxx&svm.name=xxxxx"

response = requests.get(AIQ_api_url, auth=AIQ_auth, verify=False)

print(response)
print(response.json())

 

1 REPLY 1

Haseeb
2,385 Views

Hello Abhlash9,

 

The AIQUM supports HTTP basic authentication. As far as i am aware there is no authentication option that uses certificates.
Can you point out where you found this information about certificate authentication?

Public