You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exporter can be configured with AWS keys as shown in specifying credentials, the following piece of code loads the credentials:
// Initialize a session that the SDK uses to load
// credentials from the shared credentials file ~/.aws/credentials
// and configuration from the shared configuration file ~/.aws/config.
sess := session.Must(session.NewSessionWithOptions(session.Options{
SharedConfigState: session.SharedConfigEnable,
}))
The exporter-toolkit only needs to be configured if for example TLS or authentication is required.
Let me know if you get it working or run into something else.
Nice, it working.
What if I want to run this as a pod on EKS cluster and use IAM Role? It will create me an access token, but is this code will work to use it?
I've created docker to support it: https://github.com/davidt-gh/ses_exporter
I want to use this exporter, but not sure how to use exporter-toolkit
Why not use simple aws keys? is this not possible?
The text was updated successfully, but these errors were encountered: