🗝️

Secrets

The proper place to store secrets, keys, API tokens, etc is in your secrets object: @me.secrets

You can access your secrets in your code like: @me.secrets.someAPIToken

Add to your secrets at: https://val.town/settings/secrets

🔐
Be careful about how you use your secrets in your code.

❌ It is not secure to pass your secrets to another user’s val via API. They will have access to your secrets in their tracings and in their function.

✅ It is safe to pass your secret to another user’s val. The author of that val will not have access to it.