Request URL

PUT https://api.dotcom-monitor.com/config_api_v1/securevaults

Create a new crypt with the settings provided in the request body in the JSON format. 

Header Parameters

Content-Type: application/json
Example PUT body
{ 

"Name": "My_Crypt", 

"Variables": [ 

    { 

            "Name": "Login", 

            "Value": "username", 

            "Realm": "http://www.dotcom-monitor.com", 

            "MaskedUI": true, 

            "UseForMaskedValues": true 

        } 

] 

}

Required Body Parameters

To specify a JSON object parameters for a new crypt, we recommend you get an existed crypt info first and use the response as a sample for a new crypt object.

Field

Type

Description

Name

string

The name of a crypt/variable.

Value

string

The value of a variable.

Realm

string

The field contains the name of the resource where the variable can be used.

MaskedUI

boolean

Possible values:

  • true – the value is masked on the Dotcom-Monitor and LoadView UI.
  • false –  the variable value is provided in a clear form. Only users with sufficient permissions can see the value.

UsedForMaskedValues

boolean

Possible values:

  • true – the variable can be used only in masked fields. For example, password variables will be applied only to the masked fields to secure sensitive data from being recorded on the video report.
  • false – the variable can be used in masked and unmusked fields.

Success Response

Example Response
{
    "Success": true,
    "Result": 1110
}
Field

Type

Description

Result

int32

The unique id for the crypt.