Skip to main content

Overview

The Key Manager (Barbican) secret store backend determines how secret payloads are encrypted and where ciphertext is stored. Polystack Key Manager supports five backend types — from a software-only AES plugin for development, to hardware HSMs, external KMIP servers, HashiCorp Vault, and Dogtag KRA for enterprise deployments. Configuration is managed through the deployment console; changing the backend after secrets exist requires a migration operation.
Administrator Access Required — This operation requires the admin role. Contact your Polystack administrator if you do not have sufficient permissions.

Supported Backends


View Current Backend

The active backend is visible in the deployment console configuration panel under Key Manager → Secret Store. Verify the API is operational:
Verify Key Manager API

Backend Configuration Reference

Software-based AES-256 encryption. The Key Encryption Key (KEK) is base64-encoded and stored in barbican.conf. Secrets are encrypted at rest in the Barbican database.
barbican.conf
The kek value is stored in plaintext in barbican.conf. Any host compromise exposes all secrets. This backend is suitable only for development and testing environments. Use PKCS#11, KMIP, or Vault for production.

Multi-Backend Deployments

Deploy multiple backends simultaneously — e.g., KMIP as the global default with Vault available for specific projects.
barbican.conf — multi-backend example
When switching from single-backend to multi-backend, keep the existing backend configuration as the global_default to maintain access to existing secrets.

Apply Backend Configuration

Deploy Key Manager configuration via the deployment console
Verify the service is healthy after deployment

Next Steps

Secret Stores

Configure multiple backends and assign preferred stores to projects

Security

Protect master keys, audit secret access, and certificate management

Architecture

Understand Key Manager service topology and secret lifecycle

Admin Troubleshooting

Diagnose backend connectivity and startup failures