Skip to content

Commit

Permalink
docs(dp-auth): fix env variable
Browse files Browse the repository at this point in the history
Signed-off-by: Lukasz Dziedziak <[email protected]>
  • Loading branch information
lukidzi committed Feb 14, 2025
1 parent f0f308e commit 56cb348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/_src/production/secure-deployment/dp-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ If the signing key is compromised, we must rotate it and all the tokens that was

### Token rotation

If you need to generate a new token for a `Dataplane` or you are using service account token projection on Kubernetes, it's possible to configure dynamic token reloading. To enable this behaviour, set the `kuma-cp` configuration property `dpServer.auth.useTokenPath` to `true`. When you enable the property, `kuma-dp` detects changes to the token file, reloads the token and uses the new value when establishing a new connection to `kuma-cp`.
If you need to generate a new token for a `Dataplane` or you are using service account token projection on Kubernetes, it's possible to configure dynamic token reloading. To enable this behaviour, set the `kuma-cp` configuration property `dpServer.auth.enableReloadableTokens` to `true`. When you enable the property, `kuma-dp` detects changes to the token file, reloads the token and uses the new value when establishing a new connection to `kuma-cp`.{% if_version gte:2.7.x %} By the defaut, `enableReloadableTokens` feature is enabled on Kubernetes.{% endif_version %}


### Offline token issuing
Expand Down

0 comments on commit 56cb348

Please sign in to comment.