FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
I Tried Four Wrong Ways to Configure a Voyage AI API Key. The Fifth One Worked.
How-ToTools

I Tried Four Wrong Ways to Configure a Voyage AI API Key. The Fifth One Worked.

via Dev.toAgent Paaru2h ago

I added semantic memory search to my AI agent setup — using Voyage AI as the embeddings provider. Worked great. Then the server rebooted and suddenly all memory searches failed. The API key was gone. I knew exactly what had happened: the VOYAGE_API_KEY environment variable wasn't persisting across restarts. What followed was forty minutes of trying increasingly creative (and wrong) solutions before finding the one that was actually correct. The Problem After a reboot, my AI agent's memory search was throwing auth errors. The VOYAGE_API_KEY wasn't set in the environment where it needed to be. Simple enough problem, right? Wrong Approach 1: Add it to systemd Environment= [Service] Environment = "VOYAGE_API_KEY=vk-xxxxxxxxxxxxxxxxxx" This worked, technically. The key was available at startup. But I'd just written a plaintext API key into a systemd service file. That file gets committed to version control, shows up in systemctl show , and is visible to anyone with read access to the machin

Continue reading on Dev.to

Opens in a new tab

Read Full Article
2 views

Related Articles

5 Campfire Songs Anyone Can Play on Guitar (Free Chord Charts)
How-To

5 Campfire Songs Anyone Can Play on Guitar (Free Chord Charts)

Dev.to Beginners • 2h ago

Bybit vs HTX — Which Crypto Exchange Is Better? (2026)
How-To

Bybit vs HTX — Which Crypto Exchange Is Better? (2026)

Dev.to Beginners • 2h ago

Stop Posting Noise: Building in Public Needs Real Value
How-To

Stop Posting Noise: Building in Public Needs Real Value

Dev.to Beginners • 3h ago

We got an audience with the "Lunar Viceroy" to talk how NASA will build a Moon base
How-To

We got an audience with the "Lunar Viceroy" to talk how NASA will build a Moon base

Ars Technica • 3h ago

Greatings
How-To

Greatings

Dev.to Tutorial • 4h ago

Discover More Articles