Fix: Include imports SDK docs

This commit is contained in:
Daniel Hougaard
2024-08-20 01:09:53 +04:00
parent bed75c36dd
commit d021b414cf
4 changed files with 12 additions and 0 deletions

View File

@@ -379,6 +379,9 @@ By default, `GetSecret()` fetches and returns a shared secret.
<ParamField query="Type" type="string" optional>
The type of the secret. Valid options are "shared" or "personal". If not specified, the default value is "shared".
</ParamField>
<ParamField query="IncludeImports" type="boolean" optional>
Whether or not to include imported secrets from the current path. Read about [secret import](/documentation/platform/secret-reference)
</ParamField>
</Expandable>
</ParamField>

View File

@@ -367,6 +367,9 @@ By default, `getSecret()` fetches and returns a shared secret.
<ParamField query="setType()" type="string" optional>
The type of the secret. Valid options are "shared" or "personal". If not specified, the default value is "shared".
</ParamField>
<ParamField query="setIncludeImports" type="boolean" optional>
Whether or not to include imported secrets from the current path. Read about [secret import](/documentation/platform/secret-reference)
</ParamField>
</Expandable>
</ParamField>

View File

@@ -360,6 +360,9 @@ By default, `getSecret()` fetches and returns a shared secret.
<ParamField query="type" type="string" optional>
The type of the secret. Valid options are "shared" or "personal". If not specified, the default value is "shared".
</ParamField>
<ParamField query="includeImports" type="boolean" optional>
Whether or not to include imported secrets from the current path. Read about [secret import](/documentation/platform/secret-reference)
</ParamField>
</Expandable>
</ParamField>

View File

@@ -317,6 +317,9 @@ By default, `getSecret()` fetches and returns a shared secret. If not found, it
<ParamField query="secret_name" type="string" required>
The key of the secret to retrieve
</ParamField>
<ParamField query="include_imports" type="boolean">
Whether or not to include imported secrets from the current path. Read about [secret import](/documentation/platform/secret-reference)
</ParamField>
<ParamField query="environment" type="string" required>
The slug name (dev, prod, etc) of the environment from where secrets should be fetched from.
</ParamField>