Documentation
¶
Overview ¶
Package aws provides the implementation for aws auth exchange
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSAuth ¶
type AWSAuth struct {
// contains filtered or unexported fields
}
AWSAuth contains the implementation for the AWS cloud auth
func NewAWSAuth ¶
func NewAWSAuth(config *cloudauthconfig.AWSProviderConfig) *AWSAuth
NewAWSAuth creates a new AWSAuth from an AWSProviderConfig.
func (*AWSAuth) GenerateAuthProof ¶
func (a *AWSAuth) GenerateAuthProof(ctx context.Context, cfg pkgconfigmodel.Reader, config *common.AuthConfig) (string, error)
GenerateAuthProof generates an AWS-specific authentication proof using SigV4 signing. This proof includes a signed AWS STS GetCallerIdentity request that proves access to AWS credentials. The context parameter allows for cancellation of the proof generation.
func (*AWSAuth) LastCredentialSource ¶ added in v0.83.0
LastCredentialSource implements common.CredentialSourceReporter. It names the mechanism selected for the most recent resolution attempt, whether or not that attempt succeeded, so it is populated exactly when an operator needs it most.