Help us shape the future of Go! Take the 2026 Go Developer Survey

aws

package
v1.94.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(opts *NewManagerOpts) (*Manager, error)

func (*Manager) DeleteCredentials

func (m *Manager) DeleteCredentials(ctx context.Context, secretID string) error

func (*Manager) ReadCredentials

func (m *Manager) ReadCredentials(ctx context.Context, secretID string, creds any) error

func (*Manager) SaveCredentials

func (m *Manager) SaveCredentials(ctx context.Context, orgID string, creds any, opts ...credentials.SaveOption) (string, error)

SaveCredentials saves credentials. If opts includes WithExistingSecret, upserts at the given path.

type NewManagerOpts

type NewManagerOpts struct {
	Region, AccessKey, SecretKey, SecretPrefix string
	Logger                                     log.Logger
	Role                                       credentials.Role
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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