The age, Vault and SOPS engines shelled out with stderr discarded, so a missing key and a broken setup both surfaced as 'exit status 1' and were reported as the engine being unavailable. age now decrypts with the age library and Vault reads over its API (KV v1 or v2, detected as the CLI does), so neither needs a CLI on the host. SOPS still uses the CLI, whose library would pull in every cloud KMS SDK, but decrypts the whole file to JSON and looks the key up itself, so the key never reaches the CLI.
17 lines
360 B
YAML
17 lines
360 B
YAML
apiVersion: dev.archie.package.v1
|
|
displayName: Vault / OpenBao
|
|
description: Resolve secret references from a KV secret over the Vault or OpenBao API.
|
|
version: 1.1.0
|
|
contributes:
|
|
extensions:
|
|
- surface: secretengine
|
|
path: bin/vault
|
|
authority:
|
|
env:
|
|
- VAULT_ADDR
|
|
- VAULT_TOKEN
|
|
- VAULT_SECRET_PATH
|
|
files:
|
|
- path: bin/vault
|
|
mode: 493
|