Add an account to a secret vault
POST/api/v1/SecretVault/:vaultId/User
Adds an account with a stored password to a secret vault. The account's managedResourceId must be the resource of the vault named in the path.
Permission required: Admin role, and the signed-in user must have completed multi-factor authentication.
Values for managedType: 0 = NotManaged, 1 = Manual, 2 = Automatic.
Caution: The request body contains a password, so send it only over a secure connection; the account is stored immediately.
Request
Responses
- 200
- 400
- 404
The account was added. The body is the saved account, without the password.
The resource ID does not match the vault, or the account could not be added.
No vault with that ID exists.