package
1.1.16
Repository: https://github.com/openshift/hive.git
Documentation: pkg.go.dev

# Packages

Package mock is a generated GoMock package.

# Functions

New creates an AWS client using the provided options.
NewClient creates our client wrapper object for the actual AWS clients we use.
NewClientFromSecret creates our client wrapper object for the actual AWS clients we use.
NewSessionFromSecret creates a new AWS session using the configuration in the secret.

# Structs

AssumeRole credentials source uses AWS session configured using credentials in the SecretRef, and then uses that to assume the role provided in Role.
CredentialsSource defines how the credentials will be loaded.
Options provides the means to control how a client is created and what configuration values will be loaded.
Secret credentials source loads the credentials from a secret.

# Interfaces

Client is a wrapper object for actual AWS SDK clients to allow for easier testing.