Create an Omni Service Account
A guide on 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:
By default, the created service account will have a lifetime of 1 year, and uses the role of the creating user. These options can be adjusted by passing in the --ttl
and --role
parameters to the command. See the command for details.
The output of this command will print OMNI_ENDPOINT
and OMNI_SERVICE_ACCOUNT_KEY
.
Store the OMNI_SERVICE_ACCOUNT_KEY
securely as it will not be displayed again.
Export these variables with the printed values:
You can now use omnictl
with the generated service account.
Last updated