aws

package
v1.202.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2025 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSAMLProvider

func NewSAMLProvider(name string, config *schema.Provider) (types.Provider, error)

NewSAMLProvider creates a new AWS SAML provider.

func NewSSOProvider

func NewSSOProvider(name string, config *schema.Provider) (*ssoProvider, error)

NewSSOProvider creates a new AWS SSO provider.

Types

type CacheStorage added in v1.197.0

type CacheStorage interface {
	// ReadFile reads the cache file at the given path.
	ReadFile(path string) ([]byte, error)
	// WriteFile writes data to the cache file at the given path.
	WriteFile(path string, data []byte, perm os.FileMode) error
	// Remove deletes the cache file at the given path.
	Remove(path string) error
	// MkdirAll creates directory path with permissions.
	MkdirAll(path string, perm os.FileMode) error
	// GetXDGCacheDir returns the XDG cache directory for the given subdirectory.
	GetXDGCacheDir(subdir string, perm os.FileMode) (string, error)
}

CacheStorage defines interface for token cache storage operations. This interface enables testing without filesystem dependencies.

type Provider added in v1.196.0

type Provider interface {
	Logout(ctx context.Context) error
}

Provider is an interface for AWS providers that support logout.

Jump to

Keyboard shortcuts

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