Ah, I see! So, beyond
board_register_rsconnect(key = "the-rstudio-connect-api-key",
server = "https://rstudio-connect-server")
board_register_rsconnect(key = Sys.getenv("CONNECT_API_KEY"),
server = Sys.getenv("CONNECT_SERVER"))
(or a more secure way that I don't know about—though I've learned a lot from virtually following your R-security/standup-comedian tour), you also need to have a way to get the username from…somewhere.
At the very least, I'd say this is a hard one to crack from my naïve reading of the documentation. So, at the very least, I think an issue for improved/easier-to-find docs would be warranted.
I'm gonna leave it to you to file, since I don't want to lose nuance, and I know you're an old hand at these things!
Congrats on your first emoji usage!