Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Added required to required fields

Daniel Hougaardb83964051cbe
diff --git a/docs/sdks/languages/node.mdx b/docs/sdks/languages/node.mdx
index 0a645da1d0..82a1175eb5 100644
--- a/docs/sdks/languages/node.mdx
+++ b/docs/sdks/languages/node.mdx
@@ -169,13 +169,13 @@ By default, `getSecret()` fetches and returns a shared secret.
<ParamField query="Parameters" type="object" optional>
<Expandable title="properties">
- <ParamField query="secretName" type="string">
+ <ParamField query="secretName" type="string" required>
The key of the secret to retrieve.
</ParamField>
- <ParamField query="projectId" type="string">
+ <ParamField query="projectId" type="string" required>
The project ID where the secret lives in.
</ParamField>
- <ParamField query="environment" type="string">
+ <ParamField query="environment" type="string" required>
The slug name (dev, prod, etc) of the environment from where secrets should be fetched from.
</ParamField>
<ParamField query="path" type="string" optional>
@@ -204,16 +204,16 @@ Create a new secret in Infisical.
<ParamField query="Parameters" type="object" optional>
<Expandable title="properties">
- <ParamField query="secretName" type="string">
+ <ParamField query="secretName" type="string" required>
The key of the secret to create.
</ParamField>
- <ParamField query="secretValue" type="string">
+ <ParamField query="secretValue" type="string" required>
The value of the secret.
</ParamField>
- <ParamField query="projectId" type="string">
+ <ParamField query="projectId" type="string" required>
The project ID where the secret lives in.
</ParamField>
- <ParamField query="environment" type="string">
+ <ParamField query="environment" type="string" required>
The slug name (dev, prod, etc) of the environment from where secrets should be fetched from.
</ParamField>
<ParamField query="path" type="string" optional>
@@ -244,16 +244,16 @@ Update an existing secret in Infisical.
<ParamField query="Parameters" type="object" optional>
<Expandable title="properties">
- <ParamField query="secretName" type="string">
+ <ParamField query="secretName" type="string" required>
The key of the secret to update.
</ParamField>
- <ParamField query="secretValue" type="string">
+ <ParamField query="secretValue" type="string" required>
The new value of the secret.
</ParamField>
- <ParamField query="projectId" type="string">
+ <ParamField query="projectId" type="string" required>
The project ID where the secret lives in.
</ParamField>
- <ParamField query="environment" type="string">
+ <ParamField query="environment" type="string" required>
The slug name (dev, prod, etc) of the environment from where secrets should be fetched from.
</ParamField>
<ParamField query="path" type="string" optional>
@@ -286,10 +286,10 @@ Delete a secret in Infisical.
<ParamField query="secretName" type="string">
The key of the secret to update.
</ParamField>
- <ParamField query="projectId" type="string">
+ <ParamField query="projectId" type="string" required>
The project ID where the secret lives in.
</ParamField>
- <ParamField query="environment" type="string">
+ <ParamField query="environment" type="string" required>
The slug name (dev, prod, etc) of the environment from where secrets should be fetched from.
</ParamField>
<ParamField query="path" type="string" optional>