A service access lets an application of your own work in Aktenplatz on your behalf – with your rights, until an expiry date you set yourself. It is meant for a program you or your organisation runs: time recording in the workshop, a reporting script, a link to your own software. You find it under Profile → Service access.

Not to be confused with a key for an AI assistant: that is a separate page for a separate purpose.

Only for accounts using the central login

Service access exists only for accounts that sign in through the central login (Keycloak). Anyone signing in with a password has no account there and gets no service access. Which case applies to you is visible on your profile page – see Set a password or enable MFA.

1. Create an access

Open your profile, choose Service access on the left and fill in three fields under Create a new access:

  • Name – what you will recognise the access by later, for example "Workshop time recording".
  • Expires on – the expiry date. 90 days are suggested; a date in the past is not accepted.
  • Scope – see the next section.

Create access sends you to the login service once and brings you back here afterwards. That detour is the point: a real sign-in of yours sits behind the key, and if your account is blocked there, every access stops working immediately.

2. Choose the scope

  • Everything I may do – the service can read, change and delete within your rights. A copied key is, until its expiry date, full access to your account.
  • Limited – the service only reaches a small, fixed part of the interface.

Take Limited if it is enough. And set the expiry date as close as the purpose allows.

3. Copy the key – only now

When you return, the key appears in an orange box. It is shown exactly once and cannot be displayed again later, not even by us. If it is gone, create a new one and revoke the old one.

The key does not belong in source code but in an environment variable of the service. The matching line for that is ready to copy next to the key.

4. Signing in from your own service

The service needs just two things: the address from this page and the key. The login service does not appear in its configuration at all – Aktenplatz handles the exchange.

Everything you need is on the page, ready to copy: the address, the call for signing in, the Authorization: Bearer header for every subsequent call, and a complete Node.js example. The example is deliberately built the right way: it holds the short-lived token and renews it only shortly before it expires, instead of signing in again on every call.

These details are always on the page, not only right after you created a key – nobody has to create a new key just to look the address up.

5. Existing accesses

At the bottom the page lists all accesses of your account, each with name, scope, expiry date and "last used". Plus the state:

  • active – working.
  • expired – the expiry date has passed.
  • revoked – ended by you.
  • refused by Keycloak – the login service no longer accepts the access, for instance because your account was blocked there.

The trash icon revokes an access. That also ends the session at the login service, not just the entry here.

Good to know

  • If your account is blocked, every one of your accesses stops working immediately.
  • The key is shown exactly once. If you lose it, create a new one.
  • Look through the list now and then: an access that was never used should be revoked.