Skip to content

Applications

Applications are OAuth clients authorized to connect to Chronicle. They represent non-human principals — services, workers, or CI pipelines — that authenticate using client credentials rather than a username and password. Applications are distinct from users: a user logs in interactively, while an application uses a client ID and secret to obtain tokens programmatically.

Lists all OAuth client applications registered on the Chronicle server.

Terminal window
cratis chronicle applications list

List all registered applications:

Terminal window
cratis chronicle applications list

List in plain format:

Terminal window
cratis chronicle applications list --output plain

Registers a new OAuth client application with the specified client ID and secret.

Terminal window
cratis chronicle applications add <CLIENT_ID> <CLIENT_SECRET>
ArgumentDescription
CLIENT_IDThe client identifier for the application.
CLIENT_SECRETThe client secret the application uses to authenticate.

Register a new application:

Terminal window
cratis chronicle applications add my-service my-secret-value

Avoid passing secrets as shell arguments in environments where command history is logged. Use environment variables or a secrets manager to supply the secret value, then pass it via a variable:

Terminal window
cratis chronicle applications add my-service "$APP_SECRET"

Removes a registered application from Chronicle. This operation is irreversible. Any service using the removed application’s credentials will immediately lose access.

Terminal window
cratis chronicle applications remove <APP_ID>

The command prompts for confirmation before proceeding. Pass --yes to skip the prompt in automated workflows.

ArgumentDescription
APP_IDThe GUID of the application to remove. Use applications list to retrieve application IDs.
FlagDescription
-y, --yesSkip confirmation prompt.

Remove an application interactively:

Terminal window
cratis chronicle applications remove a1b2c3d4-e5f6-7890-abcd-ef1234567890

Remove without confirmation:

Terminal window
cratis chronicle applications remove a1b2c3d4-e5f6-7890-abcd-ef1234567890 --yes