Identities
An identity is a principal that has interacted with an event store. Chronicle captures identity information from the context metadata of every appended event, recording the user, application, or service responsible for each write. The identities list gives you a complete picture of which principals have ever produced events in the event store.
Lists all identities recorded in the specified event store and namespace.
cratis chronicle identities listOptions
Section titled “Options”| Flag | Description |
|---|---|
-e, --event-store <NAME> | Event store to inspect. Defaults to default. |
-n, --namespace <NAME> | Namespace to inspect. Defaults to Default. |
Output tip
Section titled “Output tip”Use --output plain when scanning identity names or piping into other commands. The plain format returns one identity per line and is significantly more compact than the JSON output.
cratis chronicle identities list --output plainExamples
Section titled “Examples”List all identities in the default event store:
cratis chronicle identities listList identities in a specific event store and namespace:
cratis chronicle identities list -e myapp -n tenant-aGet identity values for scripting:
cratis chronicle identities list -q