Editing the unifi integration credentials

I have my Unifi integration configured using the webgui of HA . I want to edit my account details to a more restrictive user on the Unifi side of things. But I cannot seem to find where to edit these credentials. I only found them inside of the .storage/core.config_entries file.
Is this the place to edit my credentials or is there a proper way using the webgui ?

That’s the only place right now

I stopped the homeassistant container, edited the required values in the file and restarted the homeassistant container again. Your solution worked great.
I know have my restricted user gathering the statistics, which is perfectly fine from a security perspective. Thanks!!