CLI Reference
ezoidc version
Print the version of ezoidc.
ezoidc variables
Read variables from the server.
To authenticate with the server, a token must be provided in the EZOIDC_TOKEN
environment variable or provided in a file
using the --token-path
.
In case the token’s audience is not reachable by the client, the --host
flag or the EZOIDC_HOST
environment variable can be used to specify the ezoidc server host.
To provide string parameters with the request, use the repeatable flag --param name=value
:
ezoidc variables json --param name=value --param scope=write
ezoidc variables env
Read variables from the server and output them as environment variables for a shell.
# load environment variables into the current shellsource <(ezoidc variables env)
ezoidc variables exec
Read variables from the server and run a command with the variables set as environment variables.
ezoidc variables exec -- [command] [args...]
ezoidc variables json
Read variables from the server and print them as a JSON object.
ezoidc variables json
{ "variables": [ { "name": "success", "value": { "string": "true" } } ]}