Galon
Guide

How do I give an AI-built app its API keys without pasting them in the chat?

Paste each secret yourself in the project’s Variables in the Galon console: your functions read it from their environment when they are deployed. A secret never passes through the agent: Galon refuses a value that looks like one and sends the agent back to you.

Updated on

In practice

  1. In the console, open the project’s Variables and add the value: public or secret, for test or live.
  2. In your function, read it as env.NAME; deploy again after a change.
  3. Let the agent set ordinary settings only: a name or value that looks like a secret is refused with project_secret_human_only and a link to the Variables screen.
  4. Never write a secret or a database address in the source code.

Prices

  • Requests$0.0253per million
  • CPU time$0.011528per million milliseconds

Every price is on the pricing page.

Frequently asked questions

Can I read a secret again?

No. A secret is encrypted and never shown again; replace it if needed.

What about browser code?

Keep keys on the server: call Galon from a server only, never from browser code or a mobile app.

How does a function read my database?

Through its data API: a person reveals the server key in the console and saves it as a secret variable, which the function reads from its environment.

Good to know

  • Galon Functions

    Serverless functions and APIs, isolated per container, with logs

  • Galon Functions

    Usage only: requests and CPU time, no plan

Other guides