secure
secrets
Set Secrets
Changed onSets multiple secret values in the key store for multiple secret names.
Args: secrets (SecretsModel): Collection of secrets to store.
Returns: OperationResponse: The operation response.
put/api/v1/secrets
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/secrets
- AuthHTTP bearer
Request body
Secrets Model required
Example request
{
"target-db": {
"TARGET_DB_PASSWORD": "password",
"TARGET_DB_USERNAME": "admin"
}
}Response
Secrets were set successfully
Changes
- info
added the non-success response with the status
- info
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
removed the non-success response with the status
- warning