| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 71 |
| Technical Name |
user_api_key |
| License | LGPL-3 |
| Versions | 17.0 18.0 |
🔑 User API Key Logger
Odoo shows your API key exactly once — then it disappears forever. This module silently captures every key the moment it's generated and keeps it safe in a dedicated log.
Odoo 17 Base Module No Dependencies Upgrade Safe
⚠️ The Problem:
Odoo's default behavior hashes API keys immediately after creation. There is no way to view a key again once you close the dialog.
What This Module Does
| ⚡ Automatic Key Capture Intercepts every API key the moment it's generated. |
| 📋 Dedicated Log Tab Shows all keys with description, creator and date. |
| 👤 Creator Tracking Records which user generated each key. |
| 🗑️ Auto Cleanup on Revoke Removes log entries when keys are deleted. |
| 🔒 Group-Controlled Access Access controlled by security group. |
How It Works
Step 1 - Enable the Permission
Step 2 - Generate an API Key
Step 3 - View the Saved Key Anytime
Log Record Fields
| Field | Type | Description |
|---|---|---|
| key_id | Integer | Reference to original key. |
| user_id | Many2one | Owner user. |
| created_by | Many2one | Creator. |
| name | Char | Description. |
| key | Char | Plaintext key. |
🛡️ Security Best Practices
- Grant access only to trusted administrators.
- Restrict database access properly.
- Revoke unused keys regularly.
- Deleted keys are automatically removed from logs.
Developed BY MIR
Support: mrouk6348@gmail.com
Licensed under LGPL-3 · Odoo 17
Please log in to comment on this module