Navigation

Get in touch
Logo
News

Key management

Manage keys. Limit access.

An HSM only protects your application once keys are correctly generated, used, renewed and backed up. We connect applications and key services and design the lifecycle so that operations and development can work with it reliably.

a bunch of wires that are connected to a server — illustrative image
Working application integration · Planning and implementation by OTOKO®

Your brief for OTOKO®

What we take care of for you.

PKCS #11 describes an interface for cryptographic tokens; key management protocols such as KMIP address a different integration path. We check what your application supports and which operations need to take place in the HSM. A standard name alone does not guarantee interchangeability: mechanisms, object attributes, sessions and provider behavior are tested in the actual interaction. For data encryption, we also distinguish between data encryption and key encryption, so that key access and bulk data processing are sensibly separated.

The possible scope of services

  • Analyze application access and required cryptographic operations
  • Implement PKCS #11, provider or key service integration
  • Define key attributes, roles, rotation and deletion
  • Test error handling and reconnections
  • Hand over integration documentation and operating procedures

We define the specific scope, your involvement and the acceptance criteria before the start.

Technology explained clearly

How we carry out the task.

01

Rotation must not make existing data unreadable

A new key does not mean the old one can be deleted immediately. We record which data, signatures or backups still depend on earlier versions. Applications need a clear mapping to the key version. Generation, activation, revocation, archiving and deletion are given separate states and approvals. Errors such as exhausted sessions, expired logins or interrupted connections are surfaced and handled explicitly. Retries must not create unwanted key duplicates or duplicate business transactions.

02

Proving the actual security boundary

In testing, we check not only successful calls but also rejected roles and operations that are not permitted. Access credentials and secrets must not end up in source code, logs or general backups. Your team receives the configuration, example scenarios and a procedure for diagnostics. To get started, we need to know which libraries and runtime environments you use and which keys you already hold.

03

PKCS #11, KMIP and REST serve different purposes

PKCS #11 describes access to cryptographic tokens and their functions. KMIP addresses the management of cryptographic objects between a client and a key management system. A cloud service, in turn, can offer its own REST API. This does not make them automatically interchangeable. OTOKO® documents where an operation is executed, which key material an interface actually transmits and which attributes are preserved. This turns a list of protocols into a traceable integration path.

04

Putting envelope encryption in context

In hierarchical encryption, data keys can protect the actual data while a higher-level key protects these data keys. This avoids having every large data block processed by an HSM. What matters is where a data key is needed in plaintext and how long it stays available there. We clarify caching behavior, rotation and access within the application. The statement “the key stays in the HSM” only holds for the specific key role under consideration and its attributes.

05

Example: centrally managing scattered application keys

Several services have so far used their own key files. OTOKO® first maps owners, purposes and data dependencies. We then test the supported integration of one representative service and define permissions per application. The changeover happens step by step, with controlled reading of existing data and writing of new data. Old keys are only removed once retention, backups and recovery have been considered. The result is a documented key inventory with tested usage and rotation procedures.

Meeting room at the OTOKO® Cologne office

A verifiable result

What you keep working with.

  1. Working application integration
  2. Key lifecycle with responsibilities
  3. Integration and restart tests

The handover brings together implementation and documentation. Together, we review the agreed cases and record any remaining tasks.

Before the first step

Your questions about Key management.

Can an application continue to use the same library?

This is often possible, provided a suitable provider and the required mechanisms are supported. We review the specific version and how the application behaves in case of an error.

Are old keys deleted after rotation?

Only once no permitted use remains and retention and recovery requirements have been clarified. Rotation and deletion are separate steps.

Is key rotation the same as re-encrypting data?

No. A new key can initially be used only for new operations. Whether existing data needs to be re-encrypted or data keys need to be rewrapped depends on the procedure and the protection goal. Older data and backups must remain readable.

Can every storage system be connected via KMIP?

The client and server must support the required version, profiles, object types and operations. Authentication, object attributes and behavior in case of a failure are tested with the specific product combination.

Where are keys located in envelope encryption?

A higher-level key can be protected in the HSM, while data keys are stored in wrapped form and used temporarily within an application for data processing. We document the boundary for each key role instead of making a blanket statement.

How do we prevent every application from being able to use all keys?

We assign each application its own identity and tightly limited rights. Key purpose, environment and responsibility determine the authorizations. Negative tests check whether another application’s key or a disallowed operation is actually rejected.

Your project

Which task would you like to solve?

Describe your situation and the desired result. The selected service will be included in the contact request.

Request this service

Our Partners

  • Microsoft
  • Microsoft Azure
  • Amazon AWS
  • Google Cloud
  • Thales Group
  • Arrow ECS
  • Vodafone
  • IBM
  • Veeam
  • Atlassian
  • JetBrains
  • NinjaOne
  • OPSWAT
  • Utimaco
  • Eviden

Accessibility

Adjust the display to suit your needs.

A simple version is not available for this page yet.

Settings currently apply to this visit. Allow saving in Cookie settings to remember them.