1.0.1 • Published 1 year ago

@exweiv/wix-secret-helpers v1.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

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 💜

1.0.1

1 year ago

1.0.0

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago