Skip to content

[MTM-62399] Enhance security for encrypted tenant options future anno… #3268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
date: 2025-04-28
title: Enhanced security for encrypted tenant options
product_area: Platform services
change_type:
- value: change-3BQrQ6adS
label: API change
component:
- value: component-JlFdtOPva
label: REST API
build_artifact:
- value: tc-QHwMfWtBk7
label: cumulocity
ticket: MTM-62399
version: 2025.116.0
---
A new security feature has been introduced to restrict the decryption of encrypted [tenant options](https://cumulocity.com/api/core/#tag/Options) with the `credentials.` prefix. These options can now only be decrypted by system users (such as bootstrap or microservice users) if they own the options.

Ownership is determined based on the category of the tenant option, in the following priority:

1. The `settingsCategory` defined in the microservice manifest.
2. The microservice’s context path.
3. The microservice name.

This change is currently disabled by default and can be enabled via a feature toggle `secure-tenant-options` through the [API](https://cumulocity.com/api/core/#operation/setCurrentTenantFeatureToggleValue).

{{< c8y-admon-important >}}
In Q4 2025 for the SaaS instances and in 2026 for the yearly releases, this restriction will become **mandatory**. We strongly recommend reviewing your microservices now to ensure compatibility with the upcoming enforcement. This gives microservice developers time to adapt, especially if their services depend on reading `credentials.*` options in categories **not owned** by the microservice.
{{< /c8y-admon-important >}}