Hello @Srujan_Sriram ,
If you are using Bullseye, go to this file to enter in your credentials: /etc/wpa_supplicant/wpa_suppliment-wlan0.conf
.
If you are using Bookworm, I think there is another file to test but there are particular commands one can use: