inline Guard
inline Guard
Defines a guard with pass-through identity support.
The inline guard authorizes all requests unconditionally, using the raw credential string as the identity.
guards:
my_inline_guard:
type: inlineConfiguration (* required)
store
string
The name of the store used by this guard.
options
object
The inline guard specific options.
options:
format: "{identity}:{credentials}"
identity: zilla-service-account
credentials: "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."options.format
string
Pattern for splitting the credential string presented at authorization into an identity part and a credentials part, resolved independently by downstream bindings, for example a kafka client binding's username: "{identity}" and password: "{credentials}". Without format, the whole credential string is used as the identity, and the same value is also returned as the credentials, since there is nothing to split.
options:
format: "{identity}:{credentials}"options.identity
string
A static identity value returned when no session is active.
options:
identity: zilla-service-accountoptions.credentials
string
A static credential value returned when no session is active. Useful for supplying a fixed credential, such as a pre-signed JWT, to a downstream binding without an active upstream session.
options:
credentials: "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."
