diagrid app access test
Test whether a caller is allowed to invoke an App
Description
Test whether a caller is allowed to invoke an App.
The App's access policy is read from the control plane and evaluated locally: the caller's explicit rule wins, otherwise the policy's default action applies. No call is made to the App itself.
diagrid app access test <app> [flags]
Examples
# Check whether order-api may invoke my-app.
diagrid app access test my-app --project my-project --caller order-api
Options
-p, --project string Name of existing project
--caller string ID of the caller to simulate
-o, --output string Output format, supported [table, yaml, json] (default "table")
-h, --help help for test
Options inherited from parent commands
--api-key string Diagrid Cloud API key
SEE ALSO
- diagrid app access - Manage which callers may invoke an App