#API via POSTMANHello - I'm trying to make ontap cluster API calls via postman with token based
1 messages · Page 1 of 1 (latest)
the cluster swagger page is located at https://cluster-name-or-ip/docs/api/
you can set postman to basic authentication and it will encrypt the credentials for you. that same encrypted credential can be used for other apis that use the same credentials.
it looks like there might be tokens if you set up oauth in 9.14, but that's not something i've looked at in any detail yet.
https://docs.netapp.com/us-en/ontap/authentication/overview-oauth2.html
token based authentication does not exist in ontap for versions prior to 9.14
fantastic. thanks a lot @terse panther
in POSTMAN there is no option than Basic Auth to do requests right?
Postman itself has many auth options, but nothing else that would work with the older ontap versions.
Maybe I'm not understanding the question completely - but you can use the AIQUM API Gateway to send/receive API calls to the clusters managed by AIQUM. AIQUM will handle the individual cluster credentials for you so you only need the AIQUM token in the header of the API and the URI will start with the cluster UUID. It is basically a passthrough request where the gateway will attach the cluster credential it has stored already
https://docs.netapp.com/us-en/active-iq-unified-manager/api-automation/concept_gateway_apis.html
...and it works with Postman 😃
but that 'aiqum token' is still basic auth. there is no api token for um either. the only thing that has a token here is the ActiveIQ digital advisor site.
sure, you don't need the cluster credentials, but you'll need to use the um credentials to use that gateway
Ah - I'm in the process of loading ONTAP Select 9.14.1 - I'll see if/how the OAuth functionality works - I'm obviously curious too! 🙃