Skip to content
GET /key-store-provider

The stores Truto supports, with the config and credentials fields each one takes, so a form can be built from them.

Response Body

resultobject[]
config_fieldsobject[]
13 properties
defaultstring

Used when the field is left out or empty.

help_textstring
immutableboolean

Can't change once the key store exists.

labelstring
max_lengthinteger
min_lengthinteger
namestring
optionsobject[]

For a select, the values it accepts.

2 properties
labelstring
valuestring
patternstring

A regular expression the whole value must match.

pattern_messagestring

Why a value that doesn't match pattern is refused.

placeholderstring
requiredboolean
typestring

password values are masked and never returned. textarea takes multi-line text. select takes one of options.

Possible values:
textpasswordtextareaselect
credential_fieldsobject[]
13 properties
defaultstring

Used when the field is left out or empty.

help_textstring
immutableboolean

Can't change once the key store exists.

labelstring
max_lengthinteger
min_lengthinteger
namestring
optionsobject[]

For a select, the values it accepts.

2 properties
labelstring
valuestring
patternstring

A regular expression the whole value must match.

pattern_messagestring

Why a value that doesn't match pattern is refused.

placeholderstring
requiredboolean
typestring

password values are masked and never returned. textarea takes multi-line text. select takes one of options.

Possible values:
textpasswordtextareaselect
descriptionstring
labelstring
namestring

The provider value.

curl -X GET 'https://api.truto.one/key-store-provider' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.truto.one/key-store-provider', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import requests

url = "https://api.truto.one/key-store-provider"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())