Skip to content

ExWeiv/wix-secret-helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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 💜

About

Some basic helper functions for secrets in Wix, works with wix-secrets-backend.v2 APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published