Active IQ Unified Manager Discussions

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

Abhilash9
513 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
229 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