Flash Storage​

 View Only

 How to I authorize & authenticate a block storage using REST API

Qualys Storage Operations's profile image
Qualys Storage Operations posted 04-18-2022 07:00
Expecting commands.
Tanmoy Panja's profile image
Tanmoy Panja

//For resgistering a storage
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -u maintenance:raid-maintenance -X POST -d " { \"model\" : \"VSP 5100\",\"serialNumber\" : \"30031\", \"svpIp\" : \"\",\"changeNotificationSetting\" : {\"isNotifiable\" : false }}"

//Registering an E series storage through Controller IP

curl -v -H "Accept:application/json" -H "Content-Type:application/json" -u maintenance:raid-maintenance -X POST -d " { \"model\" : \"VSP E1090\",\"serialNumber\" : \"715007\", \"ctl1Ip\" : \"\",\"changeNotificationSetting\" : {\"isNotifiable\" : false }}"

Mentioning cred in API query is a simplest approach it removes the token responsibility from user

Please let me know if this works for you.

William Jansen van Nieuwenhuizen's profile image
William Jansen van Nieuwenhuizen