My journey in understanding FlashArray REST API 2.x Authentication was full of bumps, confusion and frustration. Here is how I progressed in figuring out how to authenticate with Oauth2 to issue REST API 2.14 requests.
There are some new REST API’s for vVols objects in Pure Storage’s FlashArray REST API 2.14! Specifically operations for virtual-machines and virtual-machine-snapshots. I won’t lie, the hardest part for me was figuring out how to use REST 2.0 with the FlashArray. The change from using standard authentication to using Oauth2 for REST 2.0 took some time. I had a lot of fun playing around and learning about them and want to share that process!