Updated links

This commit is contained in:
Daniel Hougaard
2023-12-23 15:55:20 +04:00
parent 287ed05ab7
commit 026864951b
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ Retrieve all secrets within the Infisical project and environment that client is
</ParamField> </ParamField>
<ParamField query="setIncludeImports" type="string" default="https://app.infisical.com" optional> <ParamField query="setIncludeImports" type="string" default="https://app.infisical.com" optional>
Whether or not to include imported secrets from the current path. Read about [secret import](/platform/secret-reference) Whether or not to include imported secrets from the current path. Read about [secret import](/documentation/platform/secret-reference)
</ParamField> </ParamField>
</Expandable> </Expandable>
+4 -3
View File
@@ -46,7 +46,8 @@ app.listen(PORT, async () => {
This example demonstrates how to use the Infisical Node SDK with an Express application. The application retrieves a secret named "NAME" and responds to requests with a greeting that includes the secret value. This example demonstrates how to use the Infisical Node SDK with an Express application. The application retrieves a secret named "NAME" and responds to requests with a greeting that includes the secret value.
<Warning> <Warning>
We do not recommend hardcoding your [Machine Identity Tokens](/platform/identities/overview). Setting it as an environment variable would be best. We do not recommend hardcoding your [Machine Identity Tokens](/documentation/platform/identities/overview). Setting it as an environment variable
would be best.
</Warning> </Warning>
## Installation ## Installation
@@ -59,7 +60,7 @@ $ npm install @infisical/sdk
## Configuration ## Configuration
Import the SDK and create a client instance with your [Infisical Token](/documentation/platform/token). Import the SDK and create a client instance with your [Machine Identity](/documentation/platform/identities/overview).
<Tabs> <Tabs>
<Tab title="ES6"> <Tab title="ES6">
@@ -143,7 +144,7 @@ Retrieve all secrets within the Infisical project and environment that client is
</ParamField> </ParamField>
<ParamField query="includeImports" type="string" default="https://app.infisical.com" optional> <ParamField query="includeImports" type="string" default="https://app.infisical.com" optional>
Whether or not to include imported secrets from the current path. Read about [secret import](/platform/secret-reference) Whether or not to include imported secrets from the current path. Read about [secret import](/documentation/platform/secret-reference)
</ParamField> </ParamField>
</Expandable> </Expandable>
+2 -2
View File
@@ -110,7 +110,7 @@ Retrieve all secrets within the Infisical project and environment that client is
</ParamField> </ParamField>
<ParamField query="include_imports" type="string" default="https://app.infisical.com" optional> <ParamField query="include_imports" type="string" default="https://app.infisical.com" optional>
Whether or not to include imported secrets from the current path. Read about [secret import](/platform/secret-reference) Whether or not to include imported secrets from the current path. Read about [secret import](/documentation/platform/secret-reference)
</ParamField> </ParamField>
</Expandable> </Expandable>
@@ -149,7 +149,7 @@ By default, `getSecret()` fetches and returns a shared secret. If not found, it
The type of the secret. Valid options are "shared" or "personal". If not specified, the default value is "personal". The type of the secret. Valid options are "shared" or "personal". If not specified, the default value is "personal".
</ParamField> </ParamField>
<ParamField query="include_imports" type="string" default="https://app.infisical.com" optional> <ParamField query="include_imports" type="string" default="https://app.infisical.com" optional>
Whether or not to include imported secrets from the current path. Read about [secret import](/platform/secret-reference) Whether or not to include imported secrets from the current path. Read about [secret import](/documentation/platform/secret-reference)
</ParamField> </ParamField>
</Expandable> </Expandable>
</ParamField> </ParamField>