mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 02:27:39 +00:00
Update node.mdx
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user