Skip to main content

astroctl access-policy test

Check whether a policy accepts a token, and if not why

Synopsis​

Sends the token to AstroPulse, which judges it as the endpoint would: signature, issuer, audience, expiry and required claims. The token is not stored or logged.

Terminal
astroctl access-policy test <name> --token-file <file> [flags]

Options​

Terminal
-h, --help help for test
--token-file string File holding the JWT; - reads stdin

Options inherited from parent commands​

Terminal
-o, --output string Output format (table|json|yaml) (default "table")

SEE ALSO​