omnictl installed and configured to follow this guide. If you havenโt done so already, follow the omnictl guide.
And Omni service account will create token based authentication for access to Omni. This is separate from access to the clusters managed by Omni. For Kubernetes access, see Kubernetes Service Accounts.
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.OMNI_ENDPOINT and OMNI_SERVICE_ACCOUNT_KEY.
Store the
OMNI_SERVICE_ACCOUNT_KEY securely as it will not be displayed again.omnictl with the generated service account.