Skip to main content
(Admin-only) How to manage service accounts in your Orka cluster. Service accounts are intended for use with CI/CD integrations. They don’t require username/password credentials to log in and let CI/CD integrations bypass the browser login. Service account tokens last 1 year by default, and you can request a different lifetime or a token that doesn’t expire. For how service accounts fit with users, roles, and namespaces, see How access works in Orka. Administrators can manage service accounts only from the Orka cluster. Administrators can manage users and other administrators only from the Customer Portal. See Customer Portal: Manage Users.

Before you begin

  1. Connect to your cluster via VPN. See Connect to your Orka cluster via VPN.
  2. Log in as an administrator.

Create a service account

You can create a service account with access to the orka-default namespace or to another custom namespace. You can later add the service account to additional role bindings for other namespaces. Run the following command:

Orka CLI

If you don’t set --namespace, Orka uses your default namespace. See Which namespace a command uses.

Orka API

Obtain a service account token

To use a service account, you need to obtain a token for it. By default, a service account token lasts 1 year. Add --duration to request a different lifetime (10 minutes or more), or --no-expiration for a token that doesn’t expire. Run the following command:

Orka CLI

Orka API

Delete a service account

You can delete a service account that you no longer need or whose access you want to revoke. This operation invalidates all authentication tokens issued for the respective service account. Run the following command:

Orka CLI

If you don’t set --namespace, Orka looks for the service account in your default namespace. See Which namespace a command uses.

Orka API