aws

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAwsAuthMethod

func NewAwsAuthMethod(mountPath string, options json.RawMessage) (*aws.AWSAuth, error)

Types

type AuthOptions

type AuthOptions struct {
	Role        string `json:"role,omitempty"`
	Region      string `json:"region,omitempty"`
	AwsAuthType string `json:"awsAuthType,omitempty"`

	// options specific to 'iam' auth type
	IamServerIDHeader string `json:"iamServerIdHeader"`

	// options specific to 'ec2' auth type
	SignatureType string `json:"signatureType,omitempty"`
	Nonce         string `json:"nonce,omitempty"`
}

AuthOptions defines the configuration options added using the VaultOptions.AuthOptions field when AuthType is aws. This maps directly to Vault's AWS Login options, see: https://developer.hashicorp.com/vault/api-docs/auth/aws#login

Jump to

Keyboard shortcuts

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