Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredentialConfig ¶
type CredentialConfig struct { Region string `toml:"region"` AccessKey string `toml:"access_key"` SecretKey string `toml:"secret_key"` RoleARN string `toml:"role_arn"` Profile string `toml:"profile"` Filename string `toml:"shared_credential_file"` Token string `toml:"token"` EndpointURL string `toml:"endpoint_url"` RoleSessionName string `toml:"role_session_name"` WebIdentityTokenFile string `toml:"web_identity_token_file"` }
The endpoint_url supplied here is used for specific AWS service (Cloudwatch / Timestream / etc.)
func (*CredentialConfig) Credentials ¶
func (c *CredentialConfig) Credentials() (aws.Config, error)
Click to show internal directories.
Click to hide internal directories.