Configure StackGen On-Premises
If you are using StackGen On-Premises, you need to configure authentication to connect StackGen CLI with your self-hosted instance. This setup allows your organization to manage infrastructure within its internal environment while leveraging StackGen’s automation capabilities.
Connecting StackGen CLI to Your On-Prem StackGen Instance
export STACKGEN_URL="https://stackgen.<acme.org>"
-
Log in to your account at local domain.
-
Navigate to your personal access token settings at PAT settings.
-
Select 'Generate New Token'.
-
Generate a new token by following the prompts.
-
Copy your token (PAT).
-
Run the following command in your terminal to set the token:
export STACKGEN_TOKEN=<YOUR_PERSONAL_ACCESS_TOKEN>
-
Replace
<YOUR_PERSONAL_ACCESS_TOKEN>
with your actual token.