harvest icon indicating copy to clipboard operation
harvest copied to clipboard

Harvest should support StorageGRID Azure AD SSO auth

Open cgrinds opened this issue 2 years ago • 1 comments

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

cgrinds avatar May 05 '23 19:05 cgrinds

See latest comment.

Moving out of 23.08

cgrinds avatar Jul 28 '23 15:07 cgrinds

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.

cgrinds avatar Jul 15 '24 12:07 cgrinds

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.

cgrinds avatar Aug 08 '24 18:08 cgrinds