nkeneng/Infisical: set secret

Create or update a single Infisical secret in a given project/environment/path (no CLI install).

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenInfisical access token (service token or machine identity token).yes
base_urlInfisical API base URL (e.g. https://us.infisical.com, https://eu.infisical.com, http://localhost:8080).nohttps://us.infisical.com
api_versionSecrets API version to use: 4 (recommended) or 3 (legacy/self-hosted).no4
project_idInfisical project ID (required for api_version=4).no
workspace_idInfisical workspace ID (required for api_version=3).no
environmentInfisical environment slug (e.g. dev, staging, prod).yes
pathSecret path (e.g. /, /backend, /apps/api).no/
nameSecret name (key).yes
valueSecret value.yes
typeSecret type.noshared
skip_multiline_encodingSkip multiline encoding for the secret value (true/false).nofalse
upsertIf true, create the secret when it doesn't exist (true/false).notrue
debugIf true, print a redacted API response on failure (true/false).nofalse
namedescription
actionOne of: updated, created.
secret_idSecret id.
secret_keySecret key.
secret_versionSecret version.