Polytalents
Sign in
FREN

Getting started with sOocret

Set the vault key, store or import your secrets, reveal or copy them without displaying them, share them with colleagues or through a one-time link, read the access log and keep the vault tidy.

version 1.4updated on 2026-11-17by SeedfridsOocret

sOocret is a team vault for secrets, inside Odoo. A password, an API key, an SSH access becomes an encrypted record: displayed masked, shared with the right people, and logged each time it is revealed. No more passwords sent by e-mail or chat.

1. First of all: the vault key (administrator)

sOocret encrypts every secret with a key kept on the server, outside the database. It is created once. Install sOocret from Apps (on your own server, the list is updated in developer mode: Apps → Update Apps List), then open it: as long as the vault has no key, the getting-started panel opens instead of the list.

The getting-started panel: the command to run on the server, or the creation from the screen

  1. Tell it where your Odoo runs: your own server, Odoo.sh, or a container (Docker).

  2. Create the key, in one of two ways:

  1. Store the key outside the server, right away: a personal password manager, an encrypted file on an offline USB stick, or paper in a safe. Never next to a database backup, never in sOocret itself, never in an e-mail or a chat: a key that has been seen is a key to change. Tick I have stored my key outside the server, then Finish.

The key displayed once, to copy or to download (example key)

No restart is needed. The panel never replaces a key that is already in place, and other users only read there that an administrator must be told. It can be opened again from Help → Getting started.

By hand, if you prefer: add a [soocret] section at the end of odoo.conf, with a line key = <your-44-character-key>. In every case, the file must stay readable only by the odoo user (and root): sudo chown odoo:odoo /etc/odoo/odoo.conf then sudo chmod 640 /etc/odoo/odoo.conf.

Losing the key means losing every secret, for good: nobody, not even the publisher, can recover them. Without a key, sOocret says so clearly and refuses to save: no secret is ever stored in clear text.

At installation, all administrators of the database become Managers of the vault. Then give the others their role in Settings → Users (application sOocret: User or Manager). Key rotation and the SOOCRET_KEY environment variable are described in the Documentation tab of the app page.

2. Store a secret

Open sOocret → Secrets → My secrets, then New.

My secrets, grouped by category: the secret is masked, the login and the URL stay readable and searchable

Field What goes in it
Name What it is, in plain words: "Hosting provider — customer account".
Category What it is used for: Mailbox, Customer account, Server, Encryption key… One per secret (see § 8).
Type Its form: Password, API key, OAuth client, Database, SSH access, Other.
Login, URL Where and with what to sign in. They are not secret: readable and searchable.
Secret The value to protect, or Generate a strong password (the wand). Encrypted when saved.
Vendor / third party The contact where this account exists: the secret appears on its form (see § 6).
Tags, Expires on To complete the filing, and to be warned in time (see § 7).
TOTP key The two-factor key of the account, if the site has one (see § 3).
Encrypted notes, Extra values What goes with the secret: backup codes, a second key…

Each extra value has an Encrypted box, ticked by default. Untick it for what is not secret (an account name, a date): the value stays in clear text and is read without a log entry.

A secret form: category, type, vendor, expiry, and the masked secret in the Access tab

Import your secrets from another tool

You come from Bitwarden, KeePass, 1Password or LastPass, or your passwords are in Chrome, Edge or Firefox: export them as CSV from that tool, then open sOocret → Secrets → Import.

  1. Choose the file, then Preview. sOocret tells which format it recognised, how many secrets it found and how many are already in the vault. No password is displayed.
  2. Choose a category and tags if you wish. Folders of the export become tags; secrets you already have (same name, same login, same URL) are skipped.
  3. Import. You are the owner of the imported secrets.

The preview of an import: detected format, number of secrets, first entries

The file is read in memory and never kept on the server. Delete the export from your computer once the import is done: it holds your passwords in clear text.

3. Reveal, copy

A secret is always displayed masked.

Both gestures are logged: who, when, from which record.

The revealed secret with its countdown, and the TOTP code of the moment

6-digit codes (TOTP)

Many sites ask, on top of the password, for a 6-digit code that changes every 30 seconds: this is two-factor authentication. When you turn it on, the site gives a key (often behind "enter the key manually", under the QR code). Paste it in TOTP key and save: the Show the code button then gives the code of the moment, with its countdown.

A shared account no longer depends on one person's phone. Each code shown is logged.

Ask for an SMS code for sensitive secrets (optional)

For the bank account or the key of a server, you can require a code received by SMS before any reveal. It is an option, because each code uses one SMS credit of Odoo:

  1. An administrator turns it on in Configuration → Settings → SMS code before a reveal (Odoo's SMS app must be installed).
  2. On the secret, the owner or the Manager ticks Ask for an SMS code.

From then on, the eye, the Copy button, the TOTP code, the history, sending by link and exporting this secret ask for a 6-digit code, sent to the mobile phone of the person who asks (the number of their user record). The right code is valid 5 minutes for this secret. Three attempts per code; codes sent and wrong codes are logged. Unticking the box also asks for the code.

The SMS code asked before the secret is revealed

4. Share

In the Sharing tab, add users or groups: one secret, many people. They find it in Secrets → Shared with me. Remove them to end their access. Only the owner and the Manager can change the sharing, and every change is logged.

A secret shared with two colleagues, and its one-time links

Private: a secret ticked Private is out of reach of the Vault Manager; only the owner and the people it is shared with can read it.

Send a secret to someone who has no account

A customer, a contractor: instead of writing the password in an e-mail, send a one-time link. In the Sharing tab, Send by one-time link:

Creating a one-time link: validity, number of openings, recipient

Setting What it does
Valid for 1 hour, 1 day or 7 days. After that, the link is dead.
Openings allowed 1 by default: the secret is displayed once, then the link stops working.
Recipient A contact, for the log and for the SMS code.
Ask for an SMS code The recipient must type a 6-digit code received on their mobile phone. Shown only when Odoo's SMS app is installed; each SMS uses one SMS credit.

The link is displayed once: copy it and send it, preferably by a different channel than the login it goes with. Your contact opens it, clicks Show the secret, and sees it once.

What the recipient sees when opening the link

The links of a secret are listed in its Sharing tab, where you can revoke them. Every creation, opening and revocation is logged. Only the owner and the Manager (except for a private secret) can send a secret by link.

5. The access log

sOocret → Access log lists every reveal, copy, code shown, update, sharing change, link, import, export and deletion, with the person, the date, the originating record and the IP address. Each secret also has its own Log tab, and the Access button at the top of the form gives the count.

The access log: who revealed or copied what, and when

Nobody can edit or delete an entry, not even the Manager, and deleting a secret does not erase its history. The log purges itself after 3 months; an administrator changes this duration in Configuration → Settings.

6. The credentials of a vendor

On a contact form, the Access button and the Access tab gather the secrets it is the vendor of: the hosting provider, the bank, the e-mailing tool… Everyone only sees what they are allowed to see.

The Access button on a vendor's form

7. Expiry and provider status

8. Keep the vault tidy

Categories. Lists open grouped by category, and the panel on the left filters in one click by category, type and vendor. The Manager renames, adds or archives categories in Configuration → Categories; the Without category filter finds what is left to file. Tags stay free, for the rest: Production, Personal, To check…

Health check. Secrets → Health check lists the secrets that are weak, reused (two records hold the same value), expired, or not changed for more than a year.

The health check: a weak password, two secrets holding the same value

History. The History tab of a secret keeps its last ten values, encrypted. The eye and the copy button work there as on the secret itself; Restore puts a previous value back.

The history of a secret: its previous values, masked, with Restore

9. Export, delete

Two roles

If something goes wrong

What you see Why, and what to do
The getting-started panel opens instead of the list The vault has no key yet. An administrator creates it from this panel. See § 1.
"sOocret is not configured: no encryption key" The [soocret] section is missing from odoo.conf. Open sOocret as an administrator: the getting-started panel creates it. See § 1.
The panel refuses to create a key: "encrypted secrets but no key" The original key has gone from the configuration file. Put it back: a new key could not read the existing secrets.
"Your user has no phone number" The SMS code goes to the number of your user record: add your mobile number in your preferences.
"Invalid sOocret key" The key was cut or altered when pasted: 44 characters, ending with =.
"Cannot decrypt this value" The key in place is not the one that encrypted this secret. Put the previous key back in key_previous, restart, then run re-encrypt all.
"This secret is not shared with you" Ask the owner for access; their name is given in the message.
The import refuses the file It is not a recognised CSV export. Export again as CSV from your tool (not JSON, not an encrypted file).
"This is not a two-factor key" Paste the key given by the site (letters A to Z, digits 2 to 7), or the otpauth:// address of its QR code — not a 6-digit code.
The "Ask for an SMS code" box does not appear Odoo's SMS app is not installed — or, on a secret, the option is not turned on in the settings.
The recipient sees "This link no longer works" The link has already been used, has expired or was revoked — or three wrong codes were typed. Create a new one.
A script gets "sOocret does not reveal a secret through the API" This is intended: secrets are only read in the Odoo interface.

What sOocret does not do

Support

sOocret → Help → Report a Bug and Suggest an Improvement write to the support, with the useful technical details (versions of Odoo and of sOocret, language, whether a key is configured). You see them before sending and can remove them; they never contain the key, a secret, an account or the name of your database.

A bug on our side is fixed free of charge. Help with installing or using the app is billed. You can also write to support@polytalents.fr.

See also