Adding a secret to your website
Store a key for an outside service under Secrets. Never shown again, and readable only by your backend functions.
In the website's dashboard, press Add secret.
Name it the way the service does, in capitals and underscores, such as STRIPE_SECRET_KEY. Paste the value exactly as you copied it.
It is never shown again, not even to you. Saving the same name again replaces the value. To check a value, look it up where you got it.
Several at once
Import .env takes the contents of a .env file, pasted or uploaded. Each KEY=value line becomes a secret.
How it is used
Only your backend functions can read a secret, and only the ones written to use it. Page code never can, which is why a feature that needs your key is always a function plus a page that calls it.
Rotating
Save the new value under the same name. It takes effect on the next run.