# How to decrypt tokens

**URL:** <https://forum.ansible.com/t/how-to-decrypt-tokens/38428>\
**Category:** AWX Project\
**Created:** [September 12, 2023, 1:46pm UTC](https://forum.ansible.com/t/how-to-decrypt-tokens/38428 "2023-09-12T13:46:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_GONCALVES](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@Daniel\_GONCALVES](https://forum.ansible.com/u/Daniel_GONCALVES)\
**Post date:** [September 12, 2023, 1:46pm UTC](https://forum.ansible.com/t/how-to-decrypt-tokens/38428/1 "2023-09-12T13:46:29Z")

</div>

Hello community!

I have a long list of tokens and one of them was unfortunately leaked. While we have misnamed our tokens they are all named identically (Yeah that’s really a bad practice). My question is pretty simple: is there a way to access to decrypted token value so that I can find its id and delete it?

Many thanks for your help!  
Daniel

---

<div class="post-metadata">

**Author:** ![mani3887](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@mani3887](https://forum.ansible.com/u/mani3887)\
**Post date:** [September 22, 2023, 5:32am UTC](https://forum.ansible.com/t/how-to-decrypt-tokens/38428/2 "2023-09-22T05:32:11Z")

</div>

Are you referring to credential token? I think you can retrieve any token by playing around with awx-manage shell\_plus. A sample documentation is provided in this place:  
[https://github.com/ansible/awx/blob/29ad6e1eaa1997e1dfe0272746469c6b2f1f758e/docs/credentials/extract\_credentials.md?plain=1#L16](https://github.com/ansible/awx/blob/29ad6e1eaa1997e1dfe0272746469c6b2f1f758e/docs/credentials/extract_credentials.md?plain=1#L16)

Regards,  
Mani
