# Update the account secrets setup `POST /v1/secrets` **In this build:** Real. **Scope:** `credential.write` **CLI:** `harebox secrets set` ## Request: `SecretsSetup` | Field | Type | Notes | |---|---|---| | `env_files` | `array` | | | `default_environment` | `string` | | ## Response: 200 `SecretsSetup` | Field | Type | Notes | |---|---|---| | `env_files` | `array` | | | `default_environment` | `string` | | Errors follow [one format](../errors.html).