rolesanywhere

package
v0.0.0-...-7f001bc Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSession

func CreateSession(ctx context.Context, params CreateSessionParams) (aws.Credentials, error)

func CreateSessionSigner

func CreateSessionSigner(ctx context.Context, params CreateSessionParams, signer crypto.Signer) (aws.Credentials, error)

Types

type CreateSessionParams

type CreateSessionParams struct {
	Client *http.Client

	Certificate     *x509.Certificate
	HashAndSignFunc func(string) ([]byte, error)

	TrustAnchorARN string
	ProfileARN     string
	RoleARN        string

	DurationSeconds int
}

Jump to

Keyboard shortcuts

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