Backstage Infisical Backend Plugin

This plugin provides integration between Backstage and Infisical, a secrets management platform. It allows you to manage, access, and modify secrets stored in Infisical directly through your Backstage instance.
Features
- Fetch secrets from Infisical workspaces
- Create, update, and delete secrets
- List environments for workspaces
- Support for both API token and client credentials authentication methods
Installation
This plugin is published as @infisical/backstage-backend-plugin-infisical
. To install it in your Backstage backend, run:
yarn --cwd packages/backend add @infisical/backstage-backend-plugin-infisical
Configuration
Add the following to your app-config.yaml
to configure the plugin:
infisical:
baseUrl: https://app.infisical.com
authentication:
auth_token:
token: ${INFISICAL_API_TOKEN}
universalAuth:
clientId: ${INFISICAL_CLIENT_ID}
clientSecret: ${INFISICAL_CLIENT_SECRET}
Usage
Add the plugin to your backend in packages/backend/src/index.ts
:
import { createBackend } from '@backstage/backend-defaults';
const backend = createBackend();
backend.add(import('@infisical/backstage-backend-plugin-infisical'));
backend.start();
Development
To start the plugin in development mode:
yarn start
This starts the backend in standalone mode on http://localhost:7007.
Running Tests
yarn test