Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@exweiv/wix-secret-helpers

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exweiv/wix-secret-helpers

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

Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
73
21.67%
Maintainers
1
Weekly downloads
 
Created
Source

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 💜

Keywords

wix

FAQs

Package last updated on 20 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts