2.1.5 • Published 10 months ago
@purista/gcloud-secret-store v2.1.5
@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: undefinedVisit purista.dev
Follow on Twitter @purista_js
Join the Discord Chat
2.1.2
11 months ago
2.0.3
1 year ago
2.1.1
11 months ago
2.1.4
11 months ago
2.0.5
1 year ago
2.1.3
11 months ago
2.0.4
1 year ago
2.1.5
10 months ago
2.0.6
1 year ago
2.1.0
12 months ago
2.0.1
1 year ago
2.0.0
1 year ago
1.11.0
2 years ago
1.10.8
2 years ago
1.10.7
2 years ago
1.10.5
2 years ago
1.10.4
2 years ago
1.10.6
2 years ago
1.10.3
2 years ago
1.10.2
2 years ago
1.10.1
2 years ago
1.10.0
2 years ago
1.9.1
2 years ago
1.9.0
2 years ago