The settings file and stored credentials

Oda keeps a settings file for itself on this computer and stores some values you save, such as keys, as credentials. This page covers when the file may be edited, what Oda does with it, and how stored credentials behave; for the settings you change in the app itself, start from Memory, skills and connectors.

What the settings file is

Oda keeps one settings file for its setup on this computer, applied on top of the built-in defaults. It records only what is different, so you rarely need to open it: edit it only when DataMind support asks you to. The profile settings file describes where it lives and the copy Oda keeps beside it.

A current file starts with these two lines, and the body below them is a list of changes:

yaml
# DataMind Oda settings for this computer, applied on top of the built-in defaults.
# DataMind Oda keeps this file up to date; edit it only when DataMind support asks you to.
[]

Edit the file when support asks

  1. Open the settings file DataMind support points you to, and leave the two header lines in place.
  2. Make exactly the change support describes, with the names they give you. Keep the body a valid list.
  3. Save the file. Oda watches it and applies a valid change while it runs; if a change cannot be applied, Oda reports it and keeps the previous configuration. How changes apply and what start-up reports explains when a change applies while Oda runs and when it needs a restart.
Warning

Never empty the file or leave only comments in it: a file with no list fails to start. To turn off what the file adds, keep the header lines and write an empty list: [].

How Oda keeps the file up to date

Oda normalises the file when it updates it:

Saving settings in the app

When you save a change in one of Oda's settings forms, Oda answers with that area's state as it stands after the change, with secret values hidden.

Stored credentials

Some values Oda keeps for you are credentials: named entries, such as keys, that a setting or a connection uses. They are kept on this computer, and Oda treats them as write-only.

The operations and error codes behind these surfaces are listed on Settings and credentials reference.

Questions, answered

Do I ever need to open the settings file?

Only when DataMind support asks you to. Oda keeps the file up to date on its own, and the app's own pages are the place to change your setup.

What happens if the settings file is empty?

Oda fails to start with it: a file with no list, empty or comments only, is refused. To turn off what the file adds, keep the two header lines and write an empty list: [].

What does a line that names something unknown do?

Oda skips it with a warning naming the entry, patch: entry "<name>" not found. The rest of the file still applies.

Why does the settings file look different after an update?

Oda normalises it: an older header is refreshed, Oda's plugin names are rewritten to the @datamind/<name> form, and a preset row is adjusted so its instructions add to Oda's base behaviour. The first rewrite leaves the earlier copy beside the file, with .before-update.bak in its name.

What happens if Oda cannot update the file?

It leaves the file as it is and reports that it was left unchanged, naming the file. Fix the file, or restore the .before-update.bak copy beside it.

Where do saved settings go?

Changes you save in the app's settings forms are recorded in the settings file, which holds what is different from Oda's built-in setup. Leave the file itself to Oda unless support asks otherwise.

Can I see a secret again after I set it?

No. A secret travels one way: you can set a value, and no read returns it. Oda's reads hide secret fields, so all you see is whether a value is set. To change one, set a new value.

Why was my saved setting refused?

Most often the area changed after the form read it: the save carries the state the form read, so a later change refuses it and nothing is written. Open the area again, check it, and apply the change again. A save that does not fit is refused before anything is stored.

Is there a limit on how many credential names Oda can check at once?

Yes: one check covers at most 64 names, and the bound is fixed. A larger set is refused, and one name that does not fit the plain name form fails the whole check.

What if a part of the settings surface is missing?

This copy of Oda is not set up with that part. Instead of failing silently, the error names what is missing, so it can be put right.