Skip to main content

Technical users and API keys: connecting an integration

How to give an external program (access control, signatures, booking site, management software…) access to BlueShell's APIs: the technical user, LIVE and TEST keys, what to hand to the integrator, how to replace or revoke a key.

An external program that works with BlueShell — an access control system, a signing service, a booking site, management software — signs in with a technical user: its username and one of its API keys, like a username and password. New API keys belong only to technical users, and a technical user cannot sign in to BlueShell by hand or receive e-mails.

Everything is in Settings → Users and access → API keys (the same item is in the left bar of Users and roles). You need the permission API keys → Create API keys to create, Update and revoke API keys to revoke and for Record the calls, View API keys to view; they are given to roles as explained in How to create a role and a user.

Creating a technical user

From the API keys page, New technical user:

  1. Name: who the integration is and what it does, as it will appear in the lists (for example “Access control – car park barrier”).

  2. Identifier: BlueShell suggests it from the name and shows the full username, for example controllo-accessi@bs123.serviceaccount.blueshell.app (after bs comes your marina's number). You can fix it now, not afterwards: it is the name the integration has in every log. Letters, digits and hyphens, at most 30 characters, and it must start with a letter.

  3. Description: what it does, who the contact person is.

  4. Role: at least one. A key can do exactly what these roles allow, nothing more: give the integration only what it needs. See what each role allows opens the list of roles with their permissions.

  5. Its first key: choose the Kind of key, LIVE or TEST (see below).

  6. Create the technical user.

Create one technical user for each integration, not for each supplier: the same supplier doing two jobs gets two. This way you can revoke an integration's keys without stopping the others.

Copying the key: it is shown only once

Right after creation the page shows only the username, the key and its type, each with Copy. This is the only time you see it: BlueShell keeps only a fingerprint of it, not the key. Copy it, tick I have copied the key to a safe, permanent place and press Continue.

If the key is lost it cannot be recovered: revoke it and create a new one. Hand it to the integrator confidentially, like a password.

LIVE and TEST keys

Type

Where it works

What it is for

LIVE

only on the production instance

the integration works on real data

TEST

only on a test instance

the integration tries everything without touching production

A TEST key never opens production, and a LIVE key does not work on the test instance. An integrator who first tests and then goes into production receives two keys on the same technical user, one TEST and one LIVE. Each key shows its type.

The test environment and its keys work only on request and after a technical intervention by us. If the integrator needs to test before going into production, contact us.

What to hand to the integrator: “How to connect”

Next to each key, How to connect opens the page with everything the integrator needs: the username, the first characters of the key, the Address of the instance on which that key works, the Authentication (HTTP Basic: the username and the key, as username and password), the First call to make and the Examples in several programming languages. The full key is not there: the integrator uses the one copied at creation.

The page reminds the integrator of two rules:

  • the key never goes in the code: the examples read it from a server environment variable;

  • never in a web page: the browser's JavaScript shows the key to anyone who opens the page. The page calls the integrator's server, and the server calls BlueShell.

The technical details of the APIs are in the article REST API.

Replacing, revoking, disabling

  • Replace a key without stopping the integration: New key (with an optional Note, for example the server it is installed on), the integrator switches to the new one, then Revoke on the old one.

  • Revoke: every application using that key stops working at once, and it cannot be undone. Revoked keys stay visible for 24 hours under Revoked in the last 24 hours.

  • Edit: name, description and roles. The username does not change.

  • Disable: revokes all the technical user's keys. With Enable you can then create new ones.

  • Delete: revokes all keys and removes the technical user from every list. Its identifier stays reserved forever, so in the logs it will never be confused with another integration.

Seeing what an integration does

  • Each key shows when it was created, by whom, and its Last used.

  • Whoever can consult the access log finds two links on the technical user's page: Its API calls (the API usage tab, already set on the integration) and What it changed (the records the integration created, modified and deleted). See The access log and user activity.

  • Record the calls (24 hours), on a key, keeps every call complete with request and response for 24 hours, at most 500 calls: useful when an integration does not do what you expect and you need to see what it sends and receives. Stop interrupts it earlier. The recorded calls stay for 7 days; passwords and keys are never recorded. You need the permission Update and revoke API keys.

If a key shows Used by a web page in red, it was used by a browser: anyone who opens that page can read it. Revoke it, and have BlueShell called from the integration's server. From 30 November 2026 these calls are rejected.

Keys created before technical users

Until October 2026 API keys were on people's profiles.

  • The ones in use were moved by BlueShell onto a technical user, with no interruption for the integration. You recognise them by the To replace label, which carries the date: create a new key, have the integrator switch to it, then revoke the old one. Until 31 January 2027 they still work, also in the old way of connecting (the key alone, or with the person's username); from 1 February 2027 they no longer work, however they are used, and the label becomes No longer works.

  • The others are listed under Personal keys to convert and from 30 November 2026 they no longer work. A key that is no longer needed can be revoked right away.

If you do not know which roles to give an integration, or you prefer BlueShell to create its technical user, contact us.


Did this answer your question?