CLI tool for setting up Circle SDK configuration. This tool helps you generate and configure the necessary secrets and environment variables for using the Circle SDK.
Run the setup command with your Circle API key:
npx circle-sdk-setup --api-key YOUR_API_KEY
Options:
-k, --api-key <key>
(required): Your Circle API key
The tool will:
- Generate a secret for the SDK
- Fetch your app configuration from Circle
- Save the configuration to
.env
file - Generate a recovery file (
recovery_file_YYYY-MM-DD.dat
)
recovery_file_YYYY-MM-DD.dat
file in a secure location and remove it from your project directory.