secretstore

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_LOCK_TIMEOUT = 3 * time.Minute

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretStore

type SecretStore struct {
	AWSCredentials map[string]string `json:"credentials"`
	// contains filtered or unexported fields
}

func NewSecretStore

func NewSecretStore(ctx context.Context, lockDir string) (*SecretStore, error)

func (*SecretStore) AWSCredential

func (s *SecretStore) AWSCredential(roleArn string) (*types.AWSCredentials, error)

func (*SecretStore) Clear

func (s *SecretStore) Clear(ctx context.Context) error

func (*SecretStore) Load

func (s *SecretStore) Load(ctx context.Context) error

func (*SecretStore) Save

func (s *SecretStore) Save(ctx context.Context, roleArn string, cred string) error

func (*SecretStore) SaveAWSCredential

func (s *SecretStore) SaveAWSCredential(ctx context.Context, roleArn string, cred *types.AWSCredentials) error

Jump to

Keyboard shortcuts

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