1.11.0 • Published 2 months ago

@purista/gcloud-secret-store v1.11.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

@purista/gcloud-secret-store

A secret store for using Google Cloud Secret Manager as storage.

const config = {
  projectId: 'project/MY_GOOGLE_PROJECT_ID'
}

const store = new GoogleSecretStore({ 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

1.11.0

2 months ago

1.10.8

2 months ago

1.10.7

2 months ago

1.10.5

3 months ago

1.10.4

3 months ago

1.10.6

3 months ago

1.10.3

3 months ago

1.10.2

3 months ago

1.10.1

3 months ago

1.10.0

3 months ago

1.9.1

3 months ago

1.9.0

6 months ago