Version Packages
This commit is contained in:
@@ -1,5 +1,49 @@
|
||||
# @backstage/plugin-vault-backend
|
||||
|
||||
## 0.4.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- a873a32a1f: Added support for the [new backend system](https://backstage.io/docs/backend-system/).
|
||||
|
||||
In your `packages/backend/src/index.ts` make the following changes:
|
||||
|
||||
```diff
|
||||
import { createBackend } from '@backstage/backend-defaults';
|
||||
const backend = createBackend();
|
||||
// ... other feature additions
|
||||
+ backend.add(import('@backstage/plugin-vault-backend');
|
||||
backend.start();
|
||||
```
|
||||
|
||||
If you use the new backend system, the token renewal task can be defined via configuration file:
|
||||
|
||||
```diff
|
||||
vault:
|
||||
baseUrl: <BASE_URL>
|
||||
token: <TOKEN>
|
||||
schedule:
|
||||
+ frequency: ...
|
||||
+ timeout: ...
|
||||
+ # Other schedule options, such as scope or initialDelay
|
||||
```
|
||||
|
||||
If the `schedule` is omitted or set to `false` no token renewal task will be scheduled.
|
||||
If the value of `schedule` is set to `true` the renew will be scheduled hourly (the default).
|
||||
In other cases (like in the diff above), the defined schedule will be used.
|
||||
|
||||
**DEPRECATIONS**: The interface `VaultApi` and the type `VaultSecret` are now deprecated. Import them from `@backstage/plugin-vault-node`.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-vault-node@0.1.0
|
||||
- @backstage/backend-common@0.19.9
|
||||
- @backstage/backend-plugin-api@0.6.7
|
||||
- @backstage/backend-tasks@0.5.12
|
||||
- @backstage/config@1.1.1
|
||||
- @backstage/errors@1.2.3
|
||||
|
||||
## 0.4.0-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-vault-backend",
|
||||
"description": "A Backstage backend plugin that integrates towards Vault",
|
||||
"version": "0.4.0-next.2",
|
||||
"version": "0.4.0",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
Reference in New Issue
Block a user