Create Vault Integration
Credentials & Vault
Create Vault Integration
Register a HashiCorp Vault / OpenBao integration that later credential records can read secrets from.
POST
Create Vault Integration
Overview
Registers an external secret-manager integration. v1 supports HashiCorp Vault (OSS, Enterprise, and OpenBao) via AppRole authentication. ScrapEngine never stores the raw username/password — instead, you point credentials at this integration and a vault path, and the authenticate task action reads the secret on demand using the registered AppRole. Thesecret_id is stored encrypted at rest.
Body
Human-readable name. 1-100 characters.
Backend type. Must be
hashicorp (only value supported in v1).HashiCorp-specific configuration.
Example Request
Response
Success Response (201)
Integration ID (UUID). Reference from credential records.
The name you provided.
Always
hashicorp in v1.Vault address.
Vault Enterprise namespace, or
null if unset.Always
approle in v1.AppRole role_id (echoed back;
secret_id is never returned).ISO 8601 timestamp.
ISO 8601 timestamp.
Error Responses
| Status | Description |
|---|---|
400 | Invalid body — missing required fields, bad URL, or unsupported type / authMethod. |
401 | Unauthorized — invalid or missing API key. |