It's generally best to pass this in via config. That way, you're protected if you accidentally use the wrong provider / access key. If you don't line up the root user and the provider, then it won't work.
little-cartoon-10569
01/30/2023, 7:52 PM
Since you want the root user, you must be doing something potentially dangerous / destructive, so having an extra layer of protection against misconfiguration is usually a good idea.