Service account or personal access token
Koalake gives machines access in two ways: a service account or a personal access token. Which one fits depends on whose work the machine is doing.- Use a service account for a job that runs on its own, such as a nightly load, a CI/CD pipeline or a monitoring job. It has its own identity, so it keeps working when a person changes roles or leaves the company.
- Use a personal access token when something acts on behalf of you: a script you run, or a tool you set up. It is connected to your own user account, and the access expires after 90 days at most.
Service accounts
API keys
A service account can hold several API keys at once. That lets you replace a key without the job losing access: create a new key, switch the job to it, then delete the old one. If a key is lost, delete it and create a new one. Keys can also be created and deleted through the API, so replacing them can be automated. To create a key, open the service account, select Add key, name the key and select Create key.An API key’s value is shown once, at creation, and cannot be retrieved afterwards. Copy it immediately and store it somewhere safe.
Default role
Roles control what a service account can access, the same way they do for people. Unlike a person, a service account doesn’t switch roles: it always works under its default role.Managing service accounts
From the Service accounts page, under Governance in the Portal sidebar, you can:- Create a service account.
- Edit a service account. Update the name, description, contacts, or default role through the three-dot menu at the top right of the details page.
- Assign roles.
- Create and delete API keys.
- Disable a service account. The account and all its API keys stop working immediately, but the configuration is kept and can be re-enabled at any time. If you might need the account again, disable it instead of deleting it.
- Delete a service account. This permanently removes the account and all its API keys, and any integration using those keys stops working immediately.
Personal access tokens
A personal access token lets a tool connect to Koalake on your behalf without signing in each time. To create one, open the , select your name in the bottom left, then My settings. In My settings, select + next to Personal access tokens. Name the token and choose how long it should last, up to 90 days: the shorter, the safer. The token works under your default role unless you pick another.The token’s value is shown once, at creation, and cannot be retrieved afterwards. Copy it immediately and store it somewhere safe.
What to do next
- How access works: the role model that controls access for machines and people alike.
- Assign roles and permissions: set what a role allows before you give it to a service account.
