Create an Omni Service Account
A guide on how to create an Omni service account.
This guide shows you how to create an Omni service account.
You will need omnictl
installed and configured to follow this guide.
If you haven’t done so already, follow the omnictl
guide.
Creating the Service Account
To create an Omni service account, use the following command:
omnictl serviceaccount create <sa-name>
The output of this command will print OMNI_ENDPOINT
and OMNI_SERVICE_ACCOUNT_KEY
.
Note
Store theOMNI_SERVICE_ACCOUNT_KEY
securely as it will not be displayed again.
Export these variables with the printed values:
export OMNI_ENDPOINT=<output from above command>
export OMNI_SERVICE_ACCOUNT_KEY=<output from above command>
You can now use omnictl
with the generated service account.