# Fetch Secret from Infisical ## Description Fetches one or more secret values from Infisical using a machine identity token ## Inputs | name | description | required | default | | --- | --- | --- | --- | | `INFISICAL_TOKEN` |
Machine identity access token
| `true` | `""` | | `SECRET_NAME` |A single secret key to fetch; its value is returned base64-encoded in the value output
Secret keys to fetch, separated by newlines, commas, or spaces; each is exported as an environment variable of the same name for subsequent steps
| `false` | `""` | | `INFISICAL_HOST` |Infisical API base URL
| `false` | `https://infisical.pixelparasol.com` | | `WORKSPACE_ID` |Infisical project UUID
| `true` | `""` | | `ENVIRONMENT` |Infisical environment slug
| `false` | `prod` | | `SECRET_PATH` |Folder path within the environment
| `false` | `/` | ## Outputs | name | description | | --- | --- | | `value` |The fetched SECRET_NAME value (base64-encoded)