Skip to main content
POST
/
api
/
bridge
/
v1
/
available-providers
/
{provider_controller_type_id}
/
available-credentials
/
{credential_controller_type_id}
/
credential
/
resource-server
/
encrypt
Encrypt resource server config
curl --request POST \
  --url https://api.example.com/api/bridge/v1/available-providers/{provider_controller_type_id}/available-credentials/{credential_controller_type_id}/credential/resource-server/encrypt \
  --header 'Content-Type: application/json' \
  --data '
{
  "dek_alias": "<string>",
  "value": "<unknown>"
}
'
{
  "message": "<string>",
  "data": "<unknown>"
}

Path Parameters

provider_controller_type_id
string
required

Provider controller type ID

credential_controller_type_id
string
required

Credential controller type ID

Body

application/json

Parameters for encrypting credential configuration. Uses dek_alias to look up the DEK to use for encryption.

dek_alias
string
required

The DEK alias to use for encryption (resolved to actual DEK id internally)

value
any
required

The raw credential configuration value to encrypt

Response

Encrypt resource server configuration