Secrets

A file named “secrets.json” in your basalt site's root directory can be used to store authentication credentials and the like. It is currently only used to hold the authentication token for Netlify uploading.

It is automatically added to the .gitignore file when the site is initialised, to avoid it being accidentally committed to source control.

Example

{
	"netlify_pat": "PAT",
	"netlify_site": "example.com"
}