Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ExWeiv/wix-secret-helpers
Some basic helper functions for secrets in Wix, works with wix-secrets-backend.v2 APIs
https://github.com/ExWeiv/wix-secret-helpers
Last synced: about 8 hours ago
JSON representation
Some basic helper functions for secrets in Wix, works with wix-secrets-backend.v2 APIs
- Host: GitHub
- URL: https://github.com/ExWeiv/wix-secret-helpers
- Owner: ExWeiv
- License: apache-2.0
- Created: 2024-03-20T21:52:46.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-28T12:00:39.000Z (9 months ago)
- Last Synced: 2025-01-09T21:58:20.405Z (3 days ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@exweiv/wix-secret-helpers
- Size: 15.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-wix - wix-secret-helpers - an NPM package with helper functions for Velo Secrets Manager. Made by **ExWeiv**. (Uncategorized / Uncategorized)
- awesome-wix - wix-secret-helpers - an NPM package with helper functions for Velo Secrets Manager. Made by **ExWeiv**. (Uncategorized / Uncategorized)
README
# Secret Helpers for Wix Secrets Manager APIs
This simple library contains (currently only one) helper functions/APIs for `wix-secret-backend.v2` APIs. Examples here:
**getSecretValue** API is making it possible to get secrets as string and cache them by default so you next calls will be faster.
```js
import { getSecretValue } from '@exweiv/wix-secret-helpers';// get secret value with cache enabled:
const secret = await getSecretValue("secretName");// disable cache
const secretNoCache = await getSecretValue("secretName", true);// handle secret value
```---
[Kolay Gelsin](https://medium.com/the-optimists-daily/kolay-gelsin-a-turkish-expression-we-should-all-know-and-use-83fc1207ae5d) 💜