Create managed credential

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 the Basic [16] user role or the VM.VM_SCAN.VM_SCAN_MANAGED_CREDENTIAL.CREATE custom role privilege. See Roles.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The name of the managed credential. This name must be unique within your Tenable Vulnerability Management instance.

string

The description of the managed credential object.

string
required

The type of credential object. For a list of supported credential types, use the GET /credentials/types endpoint.

settings
object
required

The configuration settings for the credential. The parameters of this object vary depending on the credential type. For more information, see Determine Settings for a Credential Type.

Note: This form displays limited parameters that support a Windows type of credential that uses password authentication.

permissions
array of objects

A list of user permissions for the managed credential. If a request message omits this parameter, Tenable Vulnerability Management automatically creates a permissions object for the user account that submits the request.

permissions
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

Returned if Tenable Vulnerability Management encounters invalid JSON in request body.

401

Returned if Tenable Vulnerability Management cannot authenticate the user account that submitted the request.

403

Returned if you do not have permission to create managed credential objects.

409

Returned if a managed credential object with the same name already exists.

415

Returned if the request payload is in an unsupported format.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/html