Using AI Accelerator without Fastly-Key

Can we use a simpler method to utilize the AI Accelerator?

For instance, using a unique URL for each project of each user?

Like this:

  • https://ai-accelerator.fastly.com/uuid-A-unnique-to-project-A/
  • https://ai-accelerator.fastly.com/uuid-B-unnique-to-project-B/

This way, developers wouldn’t need to embed the FASTLY-KEY in their code. They could directly use these URLs to connect to https://api.openai.com.

Hey @zeejee – that’s an interesting idea. Architecturally, we use the Fastly Key under the hood in AI Accelerator in ways that may be difficult to untangle, so this isn’t something we could likely do in the near term.

For anyone reading this thread in the future – our official recommendation is to secure your Fastly Key in the same way you’d secure your OpenAI token. Using API tokens