Lucra API Keys

Learn about the three primary key types for interacting with the Lucra API environments and best practices for their secure storage.

circle-info

Keys must be provided by your Lucra representative. API key generation and management is not currently supported

Key Types

BACKEND

  • Used for server-side API interactions.

  • Must be supplied in the X-Lucra-Api-Key header.

API Setupchevron-right

WEB

  • Used for Lucra Web SDK implementations.

Getting Startedchevron-right

MOBILE

  • Used for Lucra iOS, Android, and React Native SDK implementations.

Key Environments

Lucra provides two environments: sandbox and production. Each key type is associated with one of these environments:

  • Sandbox Keys: Designed for development, these keys allow testing with accounts, transactions, and matchups in a non-production setting.

  • Production Keys: Intended exclusively for live, production use.

You are expected to securely store and use two separate keys for each platform by environment.

Usage

Ensure that you are using the appropriate key type for your intended platform and environment.

Secure Storage

  • Avoid Committing to Repositories: Never store keys in your codebase.

  • Use Secure Storage Solutions: Utilize GitHub secrets or similar tools.

  • Fetch from Secure Remote Layer: Implement key rotation policies and retrieve keys from secure sources as needed.

Maintain stringent controls over your API keys to prevent unauthorized access and ensure reliable application functionality.


circle-exclamation

Last updated