[GH-ISSUE #1179] Active Directory Authorization #619

Closed
opened 2026-03-04 01:47:16 +03:00 by kerem · 3 comments
Owner

Originally created by @ctr26 on GitHub (Oct 22, 2019).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1179

I'm using an Hitachi HCP which requires AD Authorization instead of AWS. How would I get s3fs to pass this as a command?

Best

Craig

Originally created by @ctr26 on GitHub (Oct 22, 2019). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1179 I'm using an Hitachi HCP which requires AD Authorization instead of AWS. How would I get s3fs to pass this as a command? Best Craig
kerem 2026-03-04 01:47:16 +03:00
Author
Owner

@gaul commented on GitHub (Oct 22, 2019):

Do you have any references for how this kind of authorization works?

<!-- gh-comment-id:545046915 --> @gaul commented on GitHub (Oct 22, 2019): Do you have any references for how this kind of authorization works?
Author
Owner

@ctr26 commented on GitHub (Oct 22, 2019):

curl -i -k -H "Authorization: AD lgreen@example.com:p4sswOrd"

Is how you do in using cURL

https://knowledge.hitachivantara.com/Documents/Storage/Content_Platform/8.1.2/HCP_Management_API_Reference/Introduction_to_the_HCP_management_API/03_Access_and_authentication#Active_Directory_authorization_header

Best

Craig

<!-- gh-comment-id:545049892 --> @ctr26 commented on GitHub (Oct 22, 2019): curl -i -k -H "Authorization: AD lgreen@example.com:p4sswOrd" Is how you do in using cURL https://knowledge.hitachivantara.com/Documents/Storage/Content_Platform/8.1.2/HCP_Management_API_Reference/Introduction_to_the_HCP_management_API/03_Access_and_authentication#Active_Directory_authorization_header Best Craig
Author
Owner

@gaul commented on GitHub (Oct 24, 2019):

Does this work for S3 requests or only management console requests? The reference is unclear to me. You can test this by issuing both requests:

curl -i -k -H "Authorization: AD lgreen@example.com:p4sswOrd" "Accept: application/xml" "https://admin.hcp.example.com:9090/"
curl -i -k -H "Authorization: AD lgreen@example.com:p4sswOrd" "Accept: application/xml" "https://admin.hcp.example.com:9090/mapi/tenants"

The first lists all the buckets and the second does some other subtentant query from the reference.

<!-- gh-comment-id:546127869 --> @gaul commented on GitHub (Oct 24, 2019): Does this work for S3 requests or only management console requests? The reference is unclear to me. You can test this by issuing both requests: ``` curl -i -k -H "Authorization: AD lgreen@example.com:p4sswOrd" "Accept: application/xml" "https://admin.hcp.example.com:9090/" curl -i -k -H "Authorization: AD lgreen@example.com:p4sswOrd" "Accept: application/xml" "https://admin.hcp.example.com:9090/mapi/tenants" ``` The first lists all the buckets and the second does some other subtentant query from the reference.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#619
No description provided.