You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
Currently, infisical.connect just fetches back secrets from Infisical.
In the future, we want infisical.connect to also be able to accept validator arguments so that you can for instance:
Cast environment variables that are fetched back as strings to a different type.
Throw an error if a required environment variable is missing.
Fallback to default values.
Here's what I have in mind:
Users can define a custom configuration object containing each environment variable and its details that such as description, type, default, transform (i.e. function that transforms the input environment variable).
This would significantly minimize errors for folks using the Infisical Node SDK.
The text was updated successfully, but these errors were encountered:
Currently,
infisical.connect
just fetches back secrets from Infisical.In the future, we want
infisical.connect
to also be able to accept validator arguments so that you can for instance:Here's what I have in mind:
Users can define a custom configuration object containing each environment variable and its details that such as
description
,type
,default
,transform
(i.e. function that transforms the input environment variable).This would significantly minimize errors for folks using the Infisical Node SDK.
The text was updated successfully, but these errors were encountered: