Update node.mdx

This commit is contained in:
Daniel Hougaard
2023-12-23 15:48:21 +04:00
parent b6d648f1f3
commit 19e8b6d37b
+3 -3
View File
@@ -27,7 +27,7 @@ app.get("/", async (req, res) => {
const name = await client.getSecret({ const name = await client.getSecret({
environment: "dev", environment: "dev",
projectId: "656dba7f979ebd6652586669", projectId: "PROJECT_ID",
path: "/", path: "/",
type: "shared", type: "shared",
secretName: "NAME" secretName: "NAME"
@@ -131,10 +131,10 @@ Retrieve all secrets within the Infisical project and environment that client is
<ParamField query="Parameters" type="object"> <ParamField query="Parameters" type="object">
<Expandable title="properties"> <Expandable title="properties">
<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. The slug name (dev, prod, etc) of the environment from where secrets should be fetched from.
</ParamField> </ParamField>
<ParamField query="projectId" type="string"> <ParamField query="projectId" type="string" required>
The project ID where the secret lives in. The project ID where the secret lives in.
</ParamField> </ParamField>