Introduction
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.
Procedure
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
- Replace
TFE_HOSTNAME
within this address with the hostname of the TFE installation, and$TOKEN
with the output of the command in step 2, then execute it within a browser to access the admin creation page:https://TFE_HOSTNAME/admin/account/new?token=$TOKEN
Through the API
Follow the instructions within this documentation.
Additional Information
- For additional assistance please contact HashiCorp Support.