The CLI authenticates using a service account. Please refer to the Set up a service account guide to create a service account.
To configure the CLI for service account authentication:
- Set the service account credentials with the auth set-service-account-credentials command.
- When running commands, specify the account with the --account flag, or set it globally using the $UTILA_ACCOUNT environment variable.
Alternatively, you can provide service account credentials directly:
- Set the private key with the $UTILA_SA_PRIVATE_KEY environment variable.
- Or place the private key file under the config directory at: <config-dir>/credentials/<account-email>/private_key.pem
