mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 14:27:59 +00:00
update agent functions docs
This commit is contained in:
@@ -308,8 +308,12 @@ infisical agent --config example-agent-config-file.yaml
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
```
|
```
|
||||||
This function can be used to render the full list of secrets within a given project, environment and secret path.
|
|
||||||
|
|
||||||
|
**Function name**: listSecrets
|
||||||
|
|
||||||
|
**Description**: This function can be used to render the full list of secrets within a given project, environment and secret path.
|
||||||
|
|
||||||
|
**Returns**: A single secret object with the following keys `Key, WorkspaceId, Value, Type, ID, and Comment`
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="getSecretByName">
|
<Accordion title="getSecretByName">
|
||||||
@@ -325,5 +329,10 @@ infisical agent --config example-agent-config-file.yaml
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
```
|
```
|
||||||
|
|
||||||
This function can be used to render a single secret by it's name.
|
**Function name**: getSecretByName
|
||||||
|
|
||||||
|
**Description**: This function can be used to render a single secret by it's name.
|
||||||
|
|
||||||
|
**Returns**: A list of secret objects with the following keys `Key, WorkspaceId, Value, Type, ID, and Comment`
|
||||||
|
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|||||||
Reference in New Issue
Block a user