Config manage the Tradfri API key and setting an initial user

I use ansible to place config files that Home Assistant uses. I wish to config manage everything, so I can go from a fresh install to a 100% configured setup after an ansible apply. I know the documentation[0] explicitly says to not keep the Tradfri API key in config (and I believe the functionality has actually been removed now). Is this possible at all to manage from code? I have tried to search for the key in the file system but I can’t seem to find it. Where does HA store the key after I enter it?

[0] IKEA TRÅDFRI - Home Assistant

I would love to be able to set an initial user and password if one does not exist. Where does HA store this after it’s created?

I’ve noticed I can use the homeassistant config block in configuration.yaml to specify most of the remaining setup questions, but I need to click through the defaults and then restart the server to get my config to actually show in the GUI. Is it possible to never show this initial setup wizard?

These might seem like trivial things to config manage, but I thought I’d ask the question anyway.