Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion packages/node-embed-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ pnpm add @sigmacomputing/node-embed-sdk

### Token Encryption and Decryption

The SDK provides utilities for encrypting and decrypting OAuth tokens using AES-256-GCM encryption:
The SDK provides utilities for encrypting and decrypting OAuth tokens using AES-256-GCM encryption.

See our documentation on [embedding with JWTS](https://help.sigmacomputing.com/docs/create-an-embed-api-with-json-web-tokens) for more information.

Sigma expects you to encrypt OAuth tokens using the same embed secret used to sign the embed.

#### Example Usage

```typescript
import { encrypt, decrypt } from '@sigmacomputing/node-embed-sdk';
Expand Down