DataMind Oda keeps the credentials it uses for connected services: model providers, connected tools and web search. This page is the reference for the store behind them: where it lives on this computer, the order Oda reads values in, and what protects the file. The everyday steps for saving a provider key are on Set up models and providers.
Oda keeps saved credentials in one file inside Oda's home folder and settings files, created so that only your user account can read it. Two kinds of credential arrive there:
Oda never shows a stored value back, in a settings page or in a message; what it reports about the store is whether a value is set and where it comes from, never the value itself.
Oda looks up a name in one order: the first place that has a value wins.
| Place | How it ranks |
|---|---|
| The environment Oda starts in | Highest, and read-only: Oda cannot change it. |
| The stored credential file | A saved key wins over both . files below. |
A . file in the folder you launch Oda from | Wins over the home . file. |
A . file in Oda's home folder | The last place Oda looks. |
unset it in the environment DataMind Oda starts from instead.chmod 600 <file> before starting again. On Windows, this check does not apply.In a credential file inside Oda's home folder, created so that only your user account can read it. Keys you save through Oda's settings, for example a provider key on Settings > Models, and the sign-ins obtained for connected services all live in that one file. Oda's home folder and settings files covers the folder itself.
The first place that has a value wins: the environment Oda starts in, then the stored file, then a . file
in the folder you launch Oda from, then a . file in Oda's home folder. A key you save beats both .
files, so it is used even when an older value sits in one of them.
A value from the environment is this run's explicit choice, so Oda treats it as read-only and refuses to save or remove that name. Oda reads the environment once, when it starts, so the fix is to clear the variable where you start Oda and start Oda again. Until then, a saved key cannot take its place.
From the next request that names it. Oda needs no restart, and a change made in the credential file is picked up the same way. Saved values survive a restart.
Oda notices the change and uses it, including a key or sign-in you delete. If your edit and one of Oda's own writes land at the same time, both changes are kept. An empty value is never stored: a credential is removed by removing it, not by blanking it. If the edit cannot be read, Oda does not treat the file as empty: while Oda is running, it keeps the last good content and warns, and a save that would overwrite the file fails instead.
Oda creates the credential file so that only your user account can read it, and it refuses to load a file that
other users can read. The message names the file and tells you to run chmod 600 <file> before starting
again. On Windows, this check does not apply.
Other user accounts cannot: the file is created owner-only, and on macOS and Linux a file readable beyond its owner is refused at load. Programs that run as your user account can read it, and Oda's own work on this computer runs as you. The store is a convenience, not a boundary against them.
No. Oda never shows a stored value back, and its messages never print one. What Oda reports about the store is whether a value is set and where it comes from. To change a stored credential, save a new one.
Two kinds. A key: a value saved for a name, such as a model provider's key from Settings > Models, used by every request that names it. A sign-in: what Oda obtained when you signed in to a connected service, kept so later requests can use the service; signing out removes it. The sign-in conversation itself is on Authorizing services Oda connects to, and your DataMind sign-in for the server is separate; see Signing in and staying signed in.
No. A stored credential is used to reach the service it belongs to: it travels inside the request that needs it, and it does not become part of the conversation a model reads.