Docs: Add expand secret references to single secret sdk docs

This commit is contained in:
Daniel Hougaard
2024-08-20 01:12:42 +04:00
parent d021b414cf
commit 95cf3cf6cc
4 changed files with 14 additions and 1 deletions

View File

@@ -367,9 +367,12 @@ 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>
<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>
<ParamField query="setExpandSecretReferences()" type="boolean" default="true" optional>
Whether or not to expand secret references in the fetched secrets. Read about [secret reference](/documentation/platform/secret-reference)
</ParamField>
</Expandable>
</ParamField>