# Can't login with admin password in 0.21.0

**URL:** <https://forum.ansible.com/t/cant-login-with-admin-password-in-0-21-0/36627>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [May 14, 2022, 12:18am UTC](https://forum.ansible.com/t/cant-login-with-admin-password-in-0-21-0/36627 "2022-05-14T00:18:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dane\_DeValcourt](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@Dane\_DeValcourt](https://forum.ansible.com/u/Dane_DeValcourt)\
**Post date:** [May 14, 2022, 12:18am UTC](https://forum.ansible.com/t/cant-login-with-admin-password-in-0-21-0/36627/1 "2022-05-14T00:18:07Z")

</div>

I’ve tried setting a password with awx-admin.yml file that has the secret configuration.

I’ve applied it and that password doesn’t work even after doing so.

I’ve tried two commands for fetching a password, I get the password back that I set but it doesn’t let me login with “admin” and the password.

See attached secrets file that I applied.

kubectl get secret awx-admin-password -o jsonpath=“{.data.password}” | base64 --decode  
VJK3tWwNDsN48d7ZGTB51CFr4tpv9Vxh%

kubectl -n awx get secret awx-admin-password -o go-template=‘{{range $k,$v := .data}}{{printf “%s: " $k}}{{if not $v}}{{$v}}{{else}}{{$v | base64decode}}{{end}}{{”\n"}}{{end}}’  
password: VJK3tWwNDsN48d7ZGTB51CFr4tpv9Vxh

Everything indicates that is the password. Yet that won’t let me in.

> **(attachments)**
>
> [awx-admin.yml](https://forum.ansible.com/uploads/short-url/lfJzm2bhAVq8wz17TY4AFIOX9zI.yml) (142 Bytes)

---

<div class="post-metadata">

**Author:** ![Dane\_DeValcourt](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@Dane\_DeValcourt](https://forum.ansible.com/u/Dane_DeValcourt)\
**Post date:** [May 14, 2022, 1:10am UTC](https://forum.ansible.com/t/cant-login-with-admin-password-in-0-21-0/36627/2 "2022-05-14T01:10:55Z")

</div>

Never mind, I solved this by logging into the shell of the web pod and using the awx-manage changepassword admin command it worked. I’m now in.
