Create managed credential

POST {{baseUrl}}/credentials

Creates a managed credential object that you can use when configuring and running scans. You can grant other users the permission to use the managed credential object in scans and to edit the managed credential configuration.

Requires BASIC [16] user permissions. See Permissions.

Request Body

{"name"=>"Windows devices (Headquarters)", "description"=>"Use for scans of Windows devices located at headquarters.", "type"=>"Windows", "settings"=>{"domain"=>"", "username"=>"user@example.com", "auth_method"=>"Password", "password"=>"aJ^deq34Rc"}, "permissions"=>[{"grantee_uuid"=>"08d242c3-9553-4ccc-835d-0c17ed942cdq", "type"=>"user", "permissions"=>64, "name"=>"user@example.com"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"uuid":"cc43b17c-ee05-4369-95f7-af8f9bd8cad1"}