Harvest should support StorageGRID Azure AD SSO auth
hello @cgrinds
Thanks a ton for your quick response. Apologies if my last question was confusing. So when the SSO was disabled we were able to make it work using local users but with the new security standard we need to use SSO on our Storagegrid System.
The link I provided helps us get a "token" which we can use for the api operations. So was hoping once you get the token rest of the harvest related operations should be same.
Do I need to raise it as an issue for the feature request ?
Originally posted by @santosh725 in https://github.com/NetApp/harvest/discussions/2048#discussioncomment-5819128
With change #3048, Harvest's StorageGRID collector will use authTokens returned from credential scripts to authenticate with StorageGRID.
To write a credential script use StorageGRID's provided script.
Verified on 24.08.0 commit 0d2d7b4c with unit test and made sure that authToken, returned from script, is set as the Bearer token in the request header for the StorageGRID client.