Authentication
Y2K Security REST API Authentication
The Y2K Security REST API utilizes API keys to ensure secure access. To obtain your API key:
- Navigate to the API Keys page.
Important: Your API key is a confidential piece of information. Ensure that:
- You do not share it with anyone.
- It is never exposed in client-side code, like in browsers or mobile applications.
- For production use, always make requests via your backend server. This allows your API key to be accessed securely, either from an environment variable or through a key management system.
Setting Up the API Key for Requests
For every API request made to the Y2K Security API, you need to include your API key in the HTTP header as illustrated:
Authorization: Token Y2KSEC_API_KEY