directauth

package
v2.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirectAuthentication

type DirectAuthentication struct {
	// contains filtered or unexported fields
}

DirectAuthentication Object structure for headless authentication

func NewDirectAuthentication

func NewDirectAuthentication(cfg *config.Config) (*DirectAuthentication, error)

NewDirectAuthentication New Direct Authentication constructor

func (*DirectAuthentication) EstablishIAMCredentials

func (da *DirectAuthentication) EstablishIAMCredentials() error

EstablishIAMCredentials Full operation to fetch temporary IAM credentials and output them to preferred format.

The overall API interactions are as follows:

- CLI requests access token from custom authz server at /oauth2/{authzID}/v1/token - CLI triggers challenge to be pushed to Okta Verify over custom authz server at /oauth2/{authzID}/v1/challenge - CLI polls custom authz server at /oauth2/{authzID}/v1/token waiting for Okta Verify push to be acknowledged - CLI presents access token to AWS STS for temporary AWS IAM creds

Jump to

Keyboard shortcuts

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