Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Access Active IQ unified manger API using certificate file instead of password
2023-11-29
02:19 AM
1,710 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
