# Password Expiration

**URL:** <https://community.cumulocity.com/t/password-expiration/810>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [April 3, 2020, 7:45am UTC](https://community.cumulocity.com/t/password-expiration/810 "2020-04-03T07:45:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom\_Kuhn](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@Tom\_Kuhn](https://community.cumulocity.com/u/Tom_Kuhn)\
**Post date:** [April 3, 2020, 7:45am UTC](https://community.cumulocity.com/t/password-expiration/810/1 "2020-04-03T07:45:42Z")

</div>

Hi everyone,

Apologies for this newbie question, but I couldn’t find anything in the documentation.

I’m using a technical user to access the REST API of Cumulocity for integration purposes and at the same time I have set the password expiration for my UI users to 100 days.  
My question is, how can I exclude my technical user from that rule, while keeping the UI users changing their passwords every 100 days.

Thanks for your help  
Tom

---

<div class="post-metadata">

**Author:** ![Michael\_Welsing](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@Michael\_Welsing](https://community.cumulocity.com/u/Michael_Welsing)\
**Post date:** [April 21, 2020, 10:23am UTC](https://community.cumulocity.com/t/password-expiration/810/2 "2020-04-21T10:23:25Z")

</div>

Hi Tom,

sorry for the late reply. The setting after how many days the password expires is a tenant setting. So it is not possible to have different settings for different users even if one is a technical user and the user a UI user.

best regards  
Michael

---

<div class="post-metadata">

**Author:** ![Tom\_Kuhn](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@Tom\_Kuhn](https://community.cumulocity.com/u/Tom_Kuhn)\
**Post date:** [April 30, 2020, 7:36am UTC](https://community.cumulocity.com/t/password-expiration/810/3 "2020-04-30T07:36:02Z")

</div>

Thanks Michael,

Is there a recommended best-practice approach for such scenario?

How would you implement authentication for a technical user to access the REST API?

As you can imagine, I don’t really want to track manually how many days this user is using the same password.

Thanks for your help  
Tom

---

<div class="post-metadata">

**Author:** ![Tom\_Kuhn](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@Tom\_Kuhn](https://community.cumulocity.com/u/Tom_Kuhn)\
**Post date:** [May 27, 2020, 11:16am UTC](https://community.cumulocity.com/t/password-expiration/810/4 "2020-05-27T11:16:53Z")

</div>

Hi Michael,

This topic is unfortunately still not being fully answered.

Is there a slight chance that the password expiration of for example 100 days resets with every login?

I’m pretty sure I only get asked to change my password when I log on to instance I hardly use.

Could that be?

Thanks  
Tom

---

<div class="post-metadata">

**Author:** ![Tom\_Kuhn](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@Tom\_Kuhn](https://community.cumulocity.com/u/Tom_Kuhn)\
**Post date:** [June 23, 2020, 4:08am UTC](https://community.cumulocity.com/t/password-expiration/810/5 "2020-06-23T04:08:02Z")

</div>

Michael or anyone else from Software AG?

---

<div class="post-metadata">

**Author:** ![Gyan\_Awasthi1](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@Gyan\_Awasthi1](https://community.cumulocity.com/u/Gyan_Awasthi1)\
**Post date:** [June 23, 2020, 9:31am UTC](https://community.cumulocity.com/t/password-expiration/810/6 "2020-06-23T09:31:59Z")

</div>

As Michael said, The setting after how many days the password expires is a tenant setting.  
If you do not want to force your users to change passwords, use “0” for unlimited validity of passwords (default value).

[https://cumulocity.com/guides/users-guide/administration/#authentication](https://cumulocity.com/guides/users-guide/administration/#authentication)

hope, it may help.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [April 2, 2021, 3:44pm UTC](https://community.cumulocity.com/t/password-expiration/810/7 "2021-04-02T15:44:27Z")

</div>


