# How to change an OpenShift ActiveGate expired token

**URL:** <https://community.dynatrace.com/t/how-to-change-an-openshift-activegate-expired-token/41021>\
**Category:** Container platforms\
**Tags:** activegate, kubernetes, tokens\
**Created:** [August 3, 2023, 11:41am UTC](https://community.dynatrace.com/t/how-to-change-an-openshift-activegate-expired-token/41021 "2023-08-03T11:41:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Osiris5654](https://avatars.discourse-cdn.com/v4/letter/o/ac8455/32.png) [@Osiris5654](https://community.dynatrace.com/u/Osiris5654)\
**Post date:** [August 3, 2023, 11:41am UTC](https://community.dynatrace.com/t/how-to-change-an-openshift-activegate-expired-token/41021/1 "2023-08-03T11:41:34Z")

</div>

Hi everyone,

ActiveGate, which is automatically installed on Openshift, receives an expired token warning.  
I created a new token. But how do I add this token on openshift activegate.  
If I operate on the pod, this token will be deleted when the pod drops.  
Is there a general setting?

Thanks.

 ![Mustafa_ERZURUM_0-1691062416901.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/a/9a34e9a7e38d233beacb7190a083b59aa53fa204.png)

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [August 3, 2023, 1:11pm UTC](https://community.dynatrace.com/t/how-to-change-an-openshift-activegate-expired-token/41021/2 "2023-08-03T13:11:03Z")

</div>

Hello [@Osiris5654](https://community.dynatrace.com/user/58694) in this case you need to update your Dynatrace Operator token. The ActiveGate token is rotated by Dynatrace Operator every 30 days. When an authentication token is rotated, the affected ActiveGate is automatically deleted and redeployed.

> **[Update or uninstall Dynatrace Operator](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/guides/deployment-and-configuration/updates-and-maintenance/update-uninstall-operator)**
>
> Upgrade paths, update procedures, and uninstallation guide for Dynatrace Operator.
