How do I pin data to a board in Posit Connect Cloud?

I'm working on building a shiny app for Posit Connect Cloud and am wanting to pin data to a board that it can use. The goal is to use GitHub actions to refresh the data on a regular basis. However, the usual way I do it on our licensed instance of Posit Connect doesn't seem to work:

library(pins)
board <- board_connect(auth = "envvar")
board %>% pin_write(mydata,"MyData")

because it's looking for a CONNECT_API_KEY and CONNECT_SERVER. I was able to create a RSCLOUD_CLIENT_ID and RSCLOUD_CLIENT_SECRET, but don't know if those are actually what I need. Any advice would be greatly appreciated.