Skip to content

@purista/infisical-secret-store v2.0.5


PURISTA API / @purista/infisical-secret-store

@purista/infisical-secret-store

A secret store for using Infisical as storage.

typescript
const config = {
  token: 'YOUR_INFISICAL_TOKEN',
  baseUrl: 'http://example.com'
}

const store = new InfisicalSecretStore(config)

await store.setSecret('mySecret', 'value')

let value = await store.getSecret('mySecret')
console.log(value) // outputs: { mySecret: 'value' }

await store.removeSecret('mySecret')

value = await store.getSecret('mySecret')
console.log(value) // outputs: undefined

Visit purista.dev

Follow on Twitter @purista_js
Join the Discord Chat

PURISTA - Typescript framework for IoT, microservices, and serverless | Product Hunt