Authentication is required for using the Openstack REST APIs with IDrive® Compute. You need to send a request to the Identity API service endpoint ( https://identity.api.idrivecompute.io/v3 ) with valid application credentials to get an authentication token. The API provides a token in a response header named as x-auth-token.
Each token is valid only for a given time, and a new token needs to be retrieved upon its expiration. The token must be secured at all times to avoid misuse as it substitutes your credentials.
Authentication Example
curl -H "Content-Type: application/json" \
-X POST \
-d "{
"auth": {
"identity": {
"methods": [
"application_credential"
],
"application_credential": {
"id": "4e1751690e1adfefds15fdad2a6e5f47",
"secret": "tlYumLN-10_IpUMhM9h_D1k3_CGMYZIKyXEFlwTiYs_uvlzQ8nQ"
}
}
}
}"\
https://identity.api.idrivecompute.io/v3/auth/tokens
All requests must use HTTPS encryption for security and unauthenticated API requests will fail.