Create a vault
Changed onCreates a vault: a set of environment variables that point at your secrets. Pass the vault by name as vault to POST /api/sandbox and POST /api/sandbox/{id}/processes, or as {"vault": name} in a browser session's credentials. A team can have at most 100 vaults. Secrets are enabled for teams on request; please contact support to enable them (otherwise 403 SECRETS_FEATURE_DISABLED). Restricted API keys need the secrets.manage scope. When you're signed in rather than using an API key, you must be a team owner or admin (otherwise 403 SECRETS_ADMIN_REQUIRED).
Request
- Base URLhttps://api.hyperbrowser.ai
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"entries": {
"USERNAME": {
"name": "github-username"
},
"PASSWORD": {
"name": "github-password"
}
}
}Response
Success
Changes
- breaking
added the new required request property
// - breaking
removed from the
/request propertyoneOflist - breaking
the
/request property type changed from no type toobject - warning
removed the request property
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
from the response with the status - info
added the new optional request property
// - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status
- breaking
- info
endpoint added
- info