Keep VIDIA API keys (vd_live_…) in server-side environment variables such as VIDIA_API_KEY. Do not commit keys, include them in browser bundles, place them in URLs, or print them in logs. The client sends the key only in the Authorization header to the configured baseUrl. Download links need the key too (a link alone is refused), so download() sends the same header — only to /api/v1/download/… on that same baseUrl, and it never follows a redirect to another address. The key is never put in a URL.
Use a read key (browse, quote, track, download) wherever you do not need to start productions. A run key can spend points; give it a small daily production limit.
If a key may have been exposed, revoke it at https://vidia.kr/settings/api and create a new one.
Please report security issues privately through the 1:1 inquiry at https://vidia.kr. Do not open a public issue containing credentials, personal data, or exploit details.