nkeneng/Infisical: set secret
Create or update a single Infisical secret in a given project/environment/path (no CLI install).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Infisical access token (service token or machine identity token). | yes | — |
| base_url | Infisical API base URL (e.g. https://us.infisical.com, https://eu.infisical.com, http://localhost:8080). | no | https://us.infisical.com |
| api_version | Secrets API version to use: 4 (recommended) or 3 (legacy/self-hosted). | no | 4 |
| project_id | Infisical project ID (required for api_version=4). | no | — |
| workspace_id | Infisical workspace ID (required for api_version=3). | no | — |
| environment | Infisical environment slug (e.g. dev, staging, prod). | yes | — |
| path | Secret path (e.g. /, /backend, /apps/api). | no | / |
| name | Secret name (key). | yes | — |
| value | Secret value. | yes | — |
| type | Secret type. | no | shared |
| skip_multiline_encoding | Skip multiline encoding for the secret value (true/false). | no | false |
| upsert | If true, create the secret when it doesn't exist (true/false). | no | true |
| debug | If true, print a redacted API response on failure (true/false). | no | false |
Outputs
| name | description |
|---|---|
| action | One of: updated, created. |
| secret_id | Secret id. |
| secret_key | Secret key. |
| secret_version | Secret version. |