Skip to main content
Import CorsaClient and configure it with your API details:
Alternatively, configure the global OpenAPI object:

Configuration Options

ComplianceClient is a deprecated alias for CorsaClient. Use CorsaClient in new code.

Encrypted Client

For HYOK workspaces, EncryptedCorsaClient encrypts protected fields on your side with your pinned HYOK public key:
apiKey authenticates requests to Corsa. Encryption needs only your public key, so no encryption service credential is required. See Encrypt HYOK fields with the SDK for how to obtain and pin the key. With BYOK or Corsa-managed encryption, use the regular CorsaClient: Corsa encrypts on its side.