Replace a secret version's wrapping
Changed onReplaces a customer-protected version's wrapped envelope with one wrapped with another of your keys, to rotate your key. The value and version number don't change. The SDKs' rewrap does this for every version. See Customer-protected secrets. 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).
put/api/secrets/{id}/versions/{version}/wrapping
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.
Path parameters
idstring uuid required
Secret ID.
versioninteger required
Version number.
Request body
Response
Success
Changes
- info
endpoint added
- info