HashiCorp Cloud Platform
Set up SAML SSO
This topic describes how to set up SAML SSO for HCP, as well as how to update your SSO integration for compatibility with changes to HCP SAML support.
Requirements
Verify that you meet the following requirements.
Permissions
To set up SSO, you must have admin permissions for your HCP organization. Refer to organizations for more information.
Supported identity providers
HCP supports SAML SSO with the following identity providers (IdP):
- Auth0
- AWS
- Azure Entra ID
- Cyberark
- Duo Security
- Google Cloud
- IBM Verify
- JumpCloud
- Okta
- One Login
- PingID
Verify domain
You need a DNS record (secret value to set as TXT) to prove ownership of a domain. HCP uses the domain to match the email addresses for SSO. You must use different SSO domains for each HCP organization. If you try to reuse a domain name, the DNS connection request will fail.
To verify your domain:
- Copy the verification TXT record from the HCP SSO configuration to the DNS records of any email domains your organization uses.
- Return to the HCP Settings page and add your email address domains.
- Click Verify domains.
If the verification is successful, you can continue configuring SSO. If the request fails, your changes to the DNS records may not have propagated yet. It can take up to 72 hours.
Enable a new SAML SSO provider for HCP
You must configure SSO settings in HCP, as well as configure your identity provider.
Initiate integration on HCP
Log in to HCP and go to your organization.
From your organization, click Organization settings.
Click SSO, and then click Configure SSO for your organization.
Select SAML.
Copy the following values to enter into your identity provider.
- SSO Sign-On URL
- Entity ID
- Email Attribute Assertion Name
Open a new tab in your web browser to continue the configuration with your preferred identity provider.
Configure Auth0
Follow the steps to manually configure Auth0 SSO integrations.
Enter the following values from HCP into your Auth0 environment.
- SSO Sign-On URL
- Entity ID
- Email Attribute Assertion Name
Continue integration on HCP
Return to HCP. Enter the following information from your identity provider.
- SAML IDP Single Sign-On URL
- SAML IDP Certificate
Complete SSO setup
- Assign a default organization role for users.
- Optionally, turn on Assign users an organization role.
- Click Save.
If you completed the integration before October 14, 2026, you must migrate your existing SAML SSO configuration so that users can sign in.
Migrate an existing SAML SSO configuration
You only need to complete this action if you configured SAML SSO before October 14, 2026. If so, HCP prints an Action required banner at the top of the page. If you do not see this banner, then your organization is already up to date and no additional action is necessary.
- Log in to HCP and go to your organization.
- Click Update SSO settings in the banner to proceed to the SAML configuration page.
- The SAML configuration page opens in read-only mode. Click Start migration to proceed.
- Copy the URL in the Copy the new URL field.
- Signing certificates are uncommon, but if your IdP requires a certificate, open the View signing certificate menu, then click Download certificate.
- In your IdP settings, paste the URL you copied in step 4 into the appropriate field. Refer to Initiate integration on HCP for information about supported IdP settings.
- If a signing certificate is required, provide the certificate you downloaded in step 5 to your IdP.
- Select I have updated and saved the new sign-on URL in my IdP to confirm that you have updated the SSO Sign-On URL in your identity provider.
- Click Apply update and continue to complete the update.
- When prompted, complete the steps to test your connection and verify that the migration was successful.
- If the migration was successful, click Close migration wizard to exit. Otherwise, complete the steps to roll back the migration.
Roll back the migration
If your migration was unsuccessful, complete the following steps in the migration wizard so that users can log in while you investigate potential issues:
- Select Restore access using the previous sign-on URL, then click Close migration wizard.
- Click Revert migration in the SSO migration: Completed alert.
- Copy the previously stored sign-in URL.
- If it's required for your organization, download the previous signing certificate.
- Provide your IdP with the previous URL.
- If it's required for your organization, provide your IdP with the previous signing certificate.
- Click Complete rollback.