vaults

Move the secrets of other vaults into this one [write]

Changed on

Moves every secret of the from vaults of the same workspace into this vault and answers what happened to each, by name; a value is never returned. A secret is copied and confirmed stored before its source copy is touched, and the source copy is removed only when no session that is not archived still uses that vault without this one (source says which). A name this vault already holds with another value is a clash and is left alone unless it is listed in replace. A secret past this vault's limit, or one that could not be applied together with this vault's secrets, is blocked with a reason. Calling again moves nothing twice: what is already here answers already. With dry_run nothing is written and the outcomes are what a real call would do.

post/vaults/{id}/secrets/move

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/vaults/{id}/secrets/move
  • Auth
    HTTP bearer

Path parameters

idstring required

The vault id (vlt_…)

Request body

fromstring[] required

The vaults to move out of (vlt_…)

dry_runboolean

Response

OK

dry_runboolean required

Changes