35 lines
1.2 KiB
Markdown
35 lines
1.2 KiB
Markdown
# Fetch Secret from Infisical
|
|
|
|
<!-- action-docs-description source="action.yml" -->
|
|
## Description
|
|
|
|
Fetches a single secret value from Infisical using a machine identity token
|
|
<!-- action-docs-description source="action.yml" -->
|
|
|
|
<!-- action-docs-inputs source="action.yml" -->
|
|
## Inputs
|
|
|
|
| name | description | required | default |
|
|
| --- | --- | --- | --- |
|
|
| `INFISICAL_TOKEN` | <p>Machine identity access token</p> | `true` | `""` |
|
|
| `SECRET_NAME` | <p>The secret key to fetch</p> | `true` | `""` |
|
|
| `INFISICAL_HOST` | <p>Infisical API base URL</p> | `false` | `https://infisical.pixelparasol.com` |
|
|
| `WORKSPACE_ID` | <p>Infisical project UUID</p> | `false` | `""` |
|
|
| `ENVIRONMENT` | <p>Infisical environment slug</p> | `false` | `prod` |
|
|
| `SECRET_PATH` | <p>Folder path within the environment</p> | `false` | `/` |
|
|
<!-- action-docs-inputs source="action.yml" -->
|
|
|
|
<!-- action-docs-outputs source="action.yml" -->
|
|
## Outputs
|
|
|
|
| name | description |
|
|
| --- | --- |
|
|
| `value` | <p>The fetched secret value</p> |
|
|
<!-- action-docs-outputs source="action.yml" -->
|
|
|
|
<!-- action-docs-runs source="action.yml" -->
|
|
## Runs
|
|
|
|
This action is a `composite` action.
|
|
<!-- action-docs-runs source="action.yml" -->
|