This page describes the initial setup steps for using TrustLogin as the source of identity
to perform Identity Provisioning to HCP Terraform.
Note: For detailed instructions on operating HCP Terraform, please refer to the documentation provided by HCP Terraform.
| Item | Details | |
| Pre-check |
|
|
| Setup Flow / Manual |
Note: After connecting TrustLogin and HCP Terraform using the steps on this page, |
|
| Provisioning Target | 〇 | Supports user provisioning |
| ー | Supports group provisioning | |
| SAML Authentication Setup Manual |
How to Configure SAML Authentication for Terraform Cloud
|
|
| Notes |
|
|
Setup Steps
HCP Terraform Settings
- Log in to HCP Terraform with administrator privileges, and from "Choose an organization" in the upper left of the screen,
click the organization (Organization) you want to connect.
- Click "Settings" in the left-hand menu.
- Click "API Tokens" in the left-hand menu, then click "Generate an organization token".
Click "Generate token".
-
Make a note of the token that is displayed.
This completes the preliminary preparation on the HCP Terraform side. Next, configure the settings on the TrustLogin side.
TrustLogin Settings
Log in to the TrustLogin Admin Page, and from the "Admin Page > Settings > Optional Features" menu,
open "Settings" next to "Identity Provisioning".
- Click "Add Service".
- On the Add Service screen, search for and select "Terraform", then click the "Add" button.
- You will be redirected to the "Identity Provisioning > Terraform" page.
Click the "Edit" button.
-
Open "Access Settings", enter the following values for the settings items, and click "Save".
Connection URL HCP Terraform Settings The organization name you selected in step 1 Access Token HCP Terraform Settings The value of the "organization token" you copied in step 5
-
Click the "Connect" button at the top right of the screen.
Once the button status updates to "Connected", the initial setup is complete.
Next step: The manual for configuring user synchronization is available here
Values You Can Configure in Attribute Mapping
You can map any attribute on the TrustLogin side to any attribute on the HCP Terraform side.
For configuration instructions, see here
Available Default Functions
-
default functions common to all services can be specified.