aws

package module
v0.86.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 26 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func (a *AWSAuth) LastCredentialSource() string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL