Tyk Gateway
Tyk Dashboard
Admin User From the Setup Script
The script/opt/tyk-dashboard/install/bootstrap.sh creates a Tyk Dashboard user with a fixed password, which is the same in every installation. If you use this script, change the password of that user after you log in for the first time.
The script calls the Tyk Dashboard Admin API with the sample value of admin_secret. If you change admin_secret before you run the script, edit the script first, or create the first user in the Tyk Dashboard UI.
Tyk MDCB
Tyk MDCB does not ship sample secrets. Set these values before you go to production.Tyk Pump
Tyk Pump does not ship sample secrets. Set the credentials for each data store that it uses.Tyk Developer Portal
Tyk AI Studio
The Linux packages install/etc/default/tyk-ai-studio with placeholder values. The AI Studio Helm chart leaves the same values empty.
Some example
.env files in the AI Studio repository contain sample encryption keys of exactly 32 characters. AI Studio and Edge Gateways accept these values. Do not copy them into a deployment.
The AI Studio Helm chart also has these defaults:
For the AI Studio settings, see AI Studio Environment Variables.
Tyk Helm Charts
The Tyk Helm charts do not generate secrets, with one exception: the Tyk Dashboard admin password, when you set it to an empty value. Set these values, or supply them from Kubernetes Secrets.Supply Helm Values From Kubernetes Secrets
Create the Kubernetes Secret first, then refer to it in your values file. When you refer to a Secret, the chart ignores the plain-text value.
For example, to supply the API secret and the admin secret:
Change the API Secret Safely
Whensecurity.private_certificate_encoding_secret is empty, Tyk Gateway encrypts the private keys in the Tyk Certificate Store with secret, and Tyk Dashboard uses tyk_api_config.secret. If you change the API secret, Tyk can no longer read the private keys that it stored before.
To change the API secret on an existing installation:
- Set
security.private_certificate_encoding_secretto the current value ofsecretin Tyk Gateway, Tyk Dashboard and Tyk MDCB. - Restart the components.
- Change
secretin Tyk Gateway andtyk_api_config.secretin Tyk Dashboard to the new value. - Restart the components.
security.private_certificate_encoding_secret to its own random value before you add certificates.