aws

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoadFromSharedConfigEnv = "AWS_LOAD_FROM_SHARED_CONFIG"
	DefaultRegionEnv        = "AWS_DEFAULT_REGION"
	RegionEnv               = "AWS_REGION"
)
View Source
const (
	ProviderType = "aws"
)

Variables

This section is empty.

Functions

func NewProvider

func NewProvider(_ context.Context, _ *common.Config) (provider.Provider, error)

func Valid added in v0.2.1

func Valid(envValue string) bool

Example AWS prefixes: arn:aws:secretsmanager:us-west-2:123456789012:secret:my-secret arn:aws:ssm:us-west-2:123456789012:parameter/my-parameter

Types

type Config

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

func LoadConfig

func LoadConfig() (*Config, error)

type Provider

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

func (*Provider) LoadSecrets

func (p *Provider) LoadSecrets(ctx context.Context, paths []string) ([]provider.Secret, error)

Jump to

Keyboard shortcuts

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