I just completed a Binance-portfolio-dashboard that asks for API_KEY from users and I want to hide the API_KEY while typing.

how can I achieve this, I tried going through the docs couldn’t find anything, or maybe I missed it (“Sorry if i missed it”) THANK YOU for the answer and time

Hello @Hemanth_Girimath, welcome to the forum!

You can set your text_input’s type parameter to "password".

You can use the type of input as password. Like: st.text_input(label='API Key', type='password').

Ref: st.text_input

1 Like

:sweat_smile: thank you for the answer and sorry for that . I don’t know how I missed that