Hitachi Content Platform​

 View Only

Use Active Directory Credentials with HCP and the AWS Java SDK: A Working Example

By Benjamin Clifford posted 03-16-2022 16:53

  

The AWS Java SDK does not natively support Active Directory authentication, but it is flexible enough that with a very little bit of coding you can use your AD credentials with HCP over the HS3 gateway.

Follow this link for a working code example that uses active directory credentials to interface with HCP using the AWS Java SDK. This is not intended to be a general S3 programming example, it is strictly intended to demonstrate how to use AD with HCP and the AWS Java SDK. This is intended for an audience that is already familiar with AWS Java SDK programming.

In order for this to work you will need to be on HCP version 8.0 or higher. You cannot create a bucket(namespace) with the AD user so you will need to create the namespace by other means. To give the AD user privileges in the namespace, you must assign data access permissions to an AD group to which the user belongs. Setting the AD user to be the owner of the bucket does not provide any data access privileges, but is required if you wish to see the buckets you own in an endpoint listing.

3 comments
23 views

Permalink

Comments

11-04-2022 04:17

Good information.

05-04-2022 11:40

Nice one

04-26-2022 13:29

Very informative