Active Directory user authentication through the HCP management API
To authenticate to HCP with Active Directory, you need to construct an authentication token from a AD user account and then submit it using a request header with all requests. The username and password do not need to be encoded.