Skip to content

Click in-app to access the full platform documentation for your version of DataRobot.

Utilities

This page outlines the operations, endpoints, parameters, and example requests and responses for the Utilities.

POST /api/v2/stringEncryptions/

DataRobot does not store your credentials when accessing external data stores. Instead you first encrypt your sensitive information with DataRobot and then, when accessing those data stores, supply the encrypted credentials. DataRobot will decrypt your credentials and use them to establish a connection to your data store.

Code samples

# You can also use wget
curl -X POST http://10.97.110.93/api/v2/stringEncryptions/ \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Body parameter

{
  "plainText": "string"
}

Parameters

Name In Type Required Description
body body StringEncryption false none

Example responses

200 Response

{
  "cipherText": "string"
}

Responses

Status Meaning Description Schema
200 OK Encryted string. StringEncryptionResponse

To perform this operation, you must be authenticated by means of one of the following methods:

BearerAuth

Schemas

StringEncryption

{
  "plainText": "string"
}

Properties

Name Type Required Restrictions Description
plainText string true none String to be encrypted. DataRobot will decrypt the string when needed to access data stores.

StringEncryptionResponse

{
  "cipherText": "string"
}

Properties

Name Type Required Restrictions Description
cipherText string true none Encrypted version of plainText input.

Updated June 28, 2022
Back to top