A security policy on an API
A security policy says who gets into an API: with which sign-in method, with which permission and from which network. You create it once and hang it on one or more APIs. Every endpoint of those APIs inherits it and may only make it stricter.
Demand a permission and a network
Under Required scopes you put the permission every key must have. Under IP allowlist you put the networks calls may come from; empty means from anywhere. At the top Flow reads the policy back in plain language. Save it.
Webhooks with a signature
When another system sends webhooks, it signs every call with a shared secret. Create a policy with Webhook signature for it, fill in the header and type the secret, or choose one From the vault. Flow keeps a typed value as a named secret; the policy only remembers that name and shows which version it uses. A new version in Secrets applies at the next call. The same field appears under External JWT when the identity provider signs tokens with a shared secret. When Flow checks tokens with the identity provider's keys (JWKS), issuer and audience are required: the same keys also sign the tokens of other organisations, and without those two the policy lets nobody in.
This guide was carried out step by step on 22 Oct 2026 by an automated test on Flow (version 3e563176).





















