console

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package console contains functionality for generating AWS Console login URLs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateLoginURL

func GenerateLoginURL(creds *sts.Credentials, duration time.Duration, location, userAgent string) (*url.URL, error)

GenerateLoginURL takes the given sts.Credentials and generates a url.URL that can be used to login to the AWS Console. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html.

Types

This section is empty.

Jump to

Keyboard shortcuts

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