Add secret vaults to an access policy
PUT/api/v1/AccessControlPolicy/:policyId/SecretVault
Adds secret vaults to a Credential based access policy and returns the number of vaults added. Vaults already in the policy are counted. Ids that are not secret vaults are skipped.
Permission required: Administrator.
Caution: The change applies immediately and extends the policy to the added vaults.
Request
Responses
- 200
- 400
- 403
- 404
The number of vaults added or already present.
The list was empty, no vault was added (for example the policy is not Credential based or no id is a secret vault), or the request failed.
The caller is not an administrator.
The access policy was not found.