aws_aegis_auth

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthAWS

type AuthAWS struct {
	AccountNumber string `json:"accountNumber"`
	Region        string `json:"region"`
	AccessKey     string `json:"accessKey"`
	SecretKey     string `json:"secretKey"`
}

func (*AuthAWS) CreateConfig

func (a *AuthAWS) CreateConfig(ctx context.Context) (aws.Config, error)

func (*AuthAWS) CreateV4AuthPOSTReq

func (a *AuthAWS) CreateV4AuthPOSTReq(ctx context.Context, service, url string, payload any) (*http.Request, error)

func (*AuthAWS) GetCredentials

func (a *AuthAWS) GetCredentials(ctx context.Context) aws.Credentials

Jump to

Keyboard shortcuts

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