Werk #22281: Plug-in APIs: obfuscated storage for secrets
| Component | Checks & agents | ||
| Title | Plug-in APIs: obfuscated storage for secrets | ||
| Date | Oct 14, 2026 | ||
| Level | Trivial Change | ||
| Class | New Feature | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
Special agents and active checks can now keep values between runs without storing them in plain text:
cmk.server_side_programs.v1.ObfuscatedStorage works like cmk.server_side_programs.v1.Storage, but passes all values through an obfuscator.
For secrets, use cmk.password_store.v1.Obfuscator.
It obfuscates them with the key of the site's password store.
This is not protection: anyone who can read the site's files can read that key.
You can find details and examples in the plug-in API documentation of the server-side programs and the password store, or in a running site's "Help" menu, under "Plugin API references".