Accessing aws eks from golang client running in separate eks cluster



I want to manage secrets and configmaps in a number of eks clusters from a golang client running in container/pod deployed in a separate eks cluster.

My code already uses the k8s goclient to access other clusters but I’m trying to figure out how to access eks clusters. I assume I need to use the aws go sdk to create the bearer token needed to authenticate?