Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func FindVirtualMFADevice ¶
func FindVirtualMFADevice(iamsvc *iam.Client) (*iamtypes.VirtualMFADevice, error)
func TOTPTokenProvider ¶
Types ¶
type Config ¶
type Config struct { TTL duration.Duration `yaml:"ttl"` RoleARN string `yaml:"role_arn"` AccessKeyID op.Secret `yaml:"access_key_id"` SecretAccessKey op.Secret `yaml:"secret_access_key"` MultiFactorAuth MultiFactorAuth `yaml:",inline"` }
func (*Config) HasMultiFactorAuth ¶
func (*Config) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
type MultiFactorAuth ¶
type OnePasswordProvider ¶
type OnePasswordProvider struct {
// contains filtered or unexported fields
}
func NewOnePasswordProvider ¶
func NewOnePasswordProvider(client *op.Client, cfg *Config) *OnePasswordProvider
func (*OnePasswordProvider) Retrieve ¶
func (p *OnePasswordProvider) Retrieve(_ context.Context) (aws.Credentials, error)
Click to show internal directories.
Click to hide internal directories.