Secrets
For authentication purposes, you need to provide a mightymeld.secrets
file for your instance. This
file must be placed in your project root for npx mightymeld
to work correctly. You can get a copy
of the file from the MightyMeld portal.
Automate it!
Run npx mightymeld secrets
to automatically download a secrets file to your project.
A secrets file contains values for MM_INSTANCE_ID
and MM_SECRET
. If you'd like, you can add
these to your shell enviroment instead of placing them in the mightymeld.secrets
file.
mightymeld.secrets (example)
MM_INSTANCE_ID=your-instance-id
MM_SECRET=your-secret
Your secret is yours
Do not share your secrets file, it is tied into auth and used to keep your code secure.
We recommend .gitignore
’ing your secrets file. Each user of the repo should have their own secrets
file.