Creating the initial admin user manually through the UI, or through the use of the Initial Admin Creation API, is required when performing an Automated Installation of Terraform Enterprise (TFE). Below are the steps to perform for either avenue.
Through the UI
- SSH into your TFE server
- If you have multiple TFE servers due to provisioning an Active/Active installation, you do not need to perform these steps within each TFE server, or any particular one.
- Execute this command to obtain the required admin token:
replicated admin --tty=0 retrieve-iact
TFE_HOSTNAMEwithin this address with the hostname of the TFE installation, and
$TOKENwith the output of the command in step 2, then execute it within a browser to access the admin creation page:
Through the API
Follow the instructions within this documentation.
- For additional assistance please contact HashiCorp Support.