Module authorizer

Module authorizer 

Source
Expand description

Authorization abstractions for SPIFFE ID-based access control.

Structs§

Any
Authorizes any SPIFFE ID (authentication only, no authorization).
Exact
Authorizes only the exact SPIFFE IDs in the allow list.
TrustDomainAllowList
Authorizes any SPIFFE ID whose trust domain is in the allow-list.

Traits§

Authorizer
Authorization policy for peer SPIFFE IDs.

Functions§

any
Returns an authorizer that accepts any SPIFFE ID.
exact
Returns an authorizer that only accepts the exact SPIFFE IDs.
trust_domains
Returns an authorizer that accepts any SPIFFE ID from the given trust domains.

Type Aliases§

TrustDomainsDeprecated
Compatibility alias for TrustDomainAllowList.