marina.json:
marina.json
Store a secret
Set or rotate a value without putting it in source code or a deployment archive:Read a secret at runtime
Usemarina.secrets.get(name) inside the app handler. It returns null when
the declared value has not been configured.
marina dev, the same call reads the managed value when the directory
is linked to an app, the signed-in developer has edit access, and the live
version declares that secret name.
Allow outbound hosts
App code uses the standard Webfetch() API. Marina applies the published
version’s egress.hosts policy to every outbound call.
You can list up to 32 hostnames. The wildcard must be the only entry when
used. Policies allow HTTPS only. Private addresses, local networks, and Marina
internal endpoints remain blocked, including when an allowed server redirects
to one. Redirect responses are returned to app code so it can decide whether
to follow them.