Skip to content

CLI Reference

If no arguments are provided to ezoidc-server, the start command will run.

ezoidc-server version

Print the version of ezoidc.

ezoidc-server start

Start the ezoidc server.

By default, the server will look for a configuration file config.yaml in the current working directory. To configure the path of the configuration file, use the --config flag.

Terminal window
ezoidc-server start --config /path/to/config.yaml

Test

ezoidc-server test variables

Evaluate the server’s policy to determine the allowed variable names given the provided claims and parameters.

Terminal window
ezoidc-server test variables \
--claims '{"iss": "https://token.actions.githubusercontent.com"}' \
--params '{"name": "value"}'
{
"allowed": {
"secret": "internal",
"token": "read"
}
}