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())