Which key protects the organization's stored secrets
curl --request GET \
--url https://app.trustivan.com/api/v1/settings/encryption \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/settings/encryption"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trustivan.com/api/v1/settings/encryption', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/settings/encryption"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"kms_provider": "local",
"customer_key": {
"provider": "aws",
"key_ref": "<string>"
},
"data_key_version": 123,
"customer_providers": [
"aws"
],
"entitled": true
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Which key protects the organization's stored secrets
Envelope encryption: the organization’s secrets are sealed under its
own data key, stored only wrapped by a key encryption key in the
deployment’s KMS (local, aws, gcp or vault) or, on Enterprise,
a customer-managed key.
GET
/
settings
/
encryption
Which key protects the organization's stored secrets
curl --request GET \
--url https://app.trustivan.com/api/v1/settings/encryption \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/settings/encryption"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trustivan.com/api/v1/settings/encryption', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/settings/encryption"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"kms_provider": "local",
"customer_key": {
"provider": "aws",
"key_ref": "<string>"
},
"data_key_version": 123,
"customer_providers": [
"aws"
],
"entitled": true
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Authorizations
Response
The settings.