HashiCorp Cloud SAML integration
Multi-Factor Authentication (MFA) is an extra layer of security used when logging into websites or apps. Individuals are authenticated through more than one required security and validation procedure that only they know or have access to.
HashiCorp Cloud is a software company with a freemium business model based in San Francisco, California. HashiCorp Cloud provides tools and products that enable developers, operators and security professionals to provision, secure, run and connect cloud-computing infrastructure.
Workforce Authority by SecureAuth offers a simple method for adding single sign-on (SSO) MFA to HashiCorp Cloud through its SAML solution.
Prerequisites
-
Configured Workforce Authority instance and user account with administrative privileges for Workforce Authority.
-
Configured Workforce Authority LDAP Agent.
For more information, see the Workforce Authority LDAP Agent deployment guide.
-
User account with administrative privileges for HashiCorp Cloud.
HashiCorp Cloud configuration
In this section, you'll configure HashiCorp Cloud as a service provider (SP).
-
Download the SAML metadata and certificate for your organization from Workforce Authority.
Metadata download:
https://sso.acceptto.com/<myorganization>/saml/download/metadataView metadata:
https://sso.acceptto.com/<myorganization>/saml/metadataCertificate download:
https://sso.acceptto.com/<myorganization>/saml/download/cert -
Log in to your HashiCorp Cloud tenant as an administrator.
Go to Project settings and click Go to organization settings

-
Go to SSO and click Configure SSO for your organization.

-
The Setup SAML SSO page appears. Do the following:
-
Use the verification record from HashiCorp to create a DNS TXT record for your domain.
For more information on DNS TXT records, see How to create a DNS TXT record.


-
In the Enter domain section, enter your organization's domain and click Verify domain.
If the verification is successful, you may proceed with the SSO configuration. If the request fails, your changes to the DNS records may not have taken effect yet. This can take up to 72 hours.
-
Copy the SSO Sign-on URL and SAML Entity ID for Workforce Authority configuration.
-
-
In the Finalize SSO Settings section, set the following:
SAML IDP Single Sign-ON URL Enter the Workforce Authority Single Sign-On URL found in the Workforce Authority metadata. SAML IDP Certificate Enter the Workforce Authority Certificate found in the Workforce Authority metadata. 
-
Click Save.
Workforce Authority SAML configuration as an Identity Provider (IdP)
In this section, you'll add an application for HashiCorp Cloud and set the SAML configuration settings. This will be the Identity Provider (IdP) side of the configuration.
-
Log in to Workforce Authority with an administrative account and go to Applications.
-
Click Create New Application.

-
In the New Application form, on the General tab, set the following configurations:
Name Set the name of the application. This is the name to display for push notifications, in the Admin panel, Application portal, and audit logs. For example, HashiCorp Cloud. Type Set to SAML Application. Template Set to SAML Service Provider [saml_sp]. Out of Band Methods Select the allowed methods end users can choose to approve MFA requests. For example, Workforce Authority Mobile app (push notifications), SMS, or Security Key. Message for MFA Requests Optional. Type a message displayed to end users when sending an MFA request via push notification, SMS, or email. 
-
Select the SAML Service Provider Configuration tab, and set the following configurations:
Issuer or Entity ID Enter the SAML Entity ID provided in the HashiCorp Cloud SAML configuration section. For example, urn:HashiCorp Cloud :HCP-SSO-000-samlpLog in URL Enter the SSO Sign-on URL provided in the HashiCorp Cloud SAML configuration section. For example, https://auth.HashiCorp Cloud .com/login/callback?connection=HCP-SSO-0000-samlpNameID Format Set to Email Address. Name Identifier Set to mail, the attribute that holds the user's email address.ACS URL Enter the SSO Sign-on URL provided in the HashiCorp Cloud SAML configuration section. For example, https://auth.HashiCorp Cloud .com/login/callback?connection=HCP-SSO-0000-samlpAlgorithm Set to RSA-SHA256. 
-
In the Asserted Attributes section, set the following values:
Friendly Name Name Value Name Format email http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddressmail unspecified 
-
Save your changes.
Test your application integration
-
Go to your HashiCorp Cloud account subdomain and select login by Workforce Authority.

-
You will be redirected to the Workforce Authority SSO page.

-
After successful authentication, select your preferred MFA method to approve access to the HashiCorp Cloud application.

-
Finally, you will be redirected to your HashiCorp Cloud page.
Support
If you have questions or need assistance, contact SecureAuth Support.
Sales
Want to learn more about our MFA solutions? Contact our Professional Services for a demo today.
Disclaimer
All product names, trademarks, and registered trademarks are the property of their respective owners.
All company, product, and service names used in this document are for identification purposes only. The use of these names, trademarks, and brands do not constitute an endorsement by the SecureAuth Corporation.
Microsoft and Active Directory are either registered trademarks or trademarks of Microsoft and/or one or more of its subsidiaries in the United States and/or other countries.