Skip to content

docs: communicate on secret breaking changes#8390

Open
mathias-vandaele wants to merge 2 commits intomainfrom
breaking-changes-on-self-managed-connector-secrets
Open

docs: communicate on secret breaking changes#8390
mathias-vandaele wants to merge 2 commits intomainfrom
breaking-changes-on-self-managed-connector-secrets

Conversation

@mathias-vandaele
Copy link
Copy Markdown
Contributor

@mathias-vandaele mathias-vandaele commented Mar 26, 2026

Description

When should this change go live?

  • This is a bug fix, security concern, or something that needs urgent release support. (add bug or support label)
  • This is already available but undocumented and should be released within a week. (add available & undocumented label)
  • This is on a specific schedule and the assignee will coordinate a release with the Documentation team. (create draft PR and/or add hold label)
  • This is part of a scheduled alpha or minor. (add alpha or minor label)
  • There is no urgency with this change (add low prio label)

PR Checklist

  • My changes are for an upcoming minor release and are in the /docs directory (version 8.9).
  • My changes are for an already released minor and are in a /versioned_docs directory.

@github-actions
Copy link
Copy Markdown
Contributor

👋 🤖 🤔 Hello, @mathias-vandaele! Did you make your changes in all the right places?

These files were changed only in docs/. You might want to duplicate these changes in versioned_docs/version-8.8/.

  • docs/self-managed/components/connectors/connectors-configuration.md
  • docs/self-managed/upgrade/components/880-to-890.md

You may have done this intentionally, but we wanted to point it out in case you didn't. You can read more about the versioning within our docs in our documentation guidelines.

…on.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@mesellings mesellings requested a review from a team April 1, 2026 12:00
@camunda-docs-pr-automation camunda-docs-pr-automation bot moved this to 👀 In Review in Documentation Team Apr 1, 2026
@mesellings mesellings added component:connectors Issues related to the connectors project. target:8.9 Issues included in the 8.9 release labels Apr 1, 2026
@alexronquillo alexronquillo requested review from alexronquillo and removed request for a team April 1, 2026 12:45
Copy link
Copy Markdown
Contributor

@alexronquillo alexronquillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! I left a few comments, mostly to align with certain aspects of the style guide (including some styles that have been discussed but aren't yet formalized 😅). Please feel free to push back on any feedback I've given.

camunda.connector.secret-provider.environment.prefix=
```

:::caution
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to a recent style guide change, we're only using :::warning, :::note, and :::tip to help keep usage consistent.

Suggested change
:::caution
:::warning

This improves security by preventing all environment variables from being exposed as connector secrets. Existing secrets that do not use the configured prefix will no longer resolve until you update either the environment variables or the prefix configuration.

To limit the environment that can be accessed by the default secret provider, configure a prefix. For example:
#### Configuring a custom prefix
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#### Configuring a custom prefix
#### Configure a custom prefix

Generally, we've gravitated toward action verbs over gerunds for instructional guides and sections.

export SUPER_SECRETS_MY_SECRET='foo' # Resolved via {{ secrets.MY_SECRET }}
```

#### Restoring the previous behavior (unsafe)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#### Restoring the previous behavior (unsafe)
#### Restore the previous behavior (unsafe)

Generally, we've gravitated toward action verbs over gerunds for instructional guides and sections.

Starting with Camunda 8.9, the environment-based secret provider uses `SECRET_` as the default prefix. Only environment variables starting with the configured prefix are available as connector secrets.

- **Before 8.9**: With no prefix configured, all environment variables were accessible as connector secrets.
- **From 8.9**: Only environment variables starting with `SECRET_` (or your configured prefix) are considered connector secrets.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest we link "or your configured prefix" to the Configure a custom prefix section to help users find that documentation faster.

```
camunda.connector.secret-provider.environment.prefix=
```
This mode logs a warning and is not recommended for production.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This mode logs a warning and is not recommended for production.
This mode logs a warning, and Camunda does not recommend it for production environments.

Generally, we've gravitated toward "Camunda recommends" over "it is recommended". Though, this isn't part of the style guide, so I wouldn't consider this a super important change at this time.

camunda.connector.secret-provider.environment.prefix=
```
This mode logs a warning and is not recommended for production.
- **Custom prefix:** Configure your own prefix via:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think there's a case to be made that this should be presented as the first action? Otherwise, the user has already set the SECRET_ prefix, and later we're telling them they can change it.


This is a **breaking change** for Self-Managed deployments that relied on unprefixed environment variables as secrets. Existing, unprefixed secrets will no longer resolve after upgrading.

**Actions required:**
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: Only one item in this list of three items is actually a "required action": The user has to choose between the first or second actions, but can't do both. The third action is also optional. Maybe we should rephrase?

- Java property: `camunda.connector.secret-provider.environment.prefix`
- Environment variable: `CAMUNDA_CONNECTOR_SECRET_PROVIDER_ENVIRONMENT_PREFIX`

For full configuration details, see [Connector secrets configuration](/self-managed/components/connectors/connectors-configuration.md#secrets).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For full configuration details, see [Connector secrets configuration](/self-managed/components/connectors/connectors-configuration.md#secrets).
For full configuration details, see [connector secrets configuration](/self-managed/components/connectors/connectors-configuration.md#secrets).

According to a recent discussion (not yet included in the style guide), we've decided to always use lowercase link references.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.9.0 component:connectors Issues related to the connectors project. target:8.9 Issues included in the 8.9 release

Projects

Status: 👀 In Review

Development

Successfully merging this pull request may close these issues.

3 participants