federation

package
v0.0.0-...-82ab749 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsoleSigninURL

func ConsoleSigninURL(
	credentials aws.Credentials,
	destination string,
	event *events.APIGatewayProxyRequest,
) (string, error)

ConsoleSigninURL exchanges a set of STS credentials for a signin token that grants the opener access to the AWS Console per the algorithm outlined in <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html>. The event parameter may be nil, in which case we attempt to learn the issuing URL by reading substrate.intranet-dns-domain-name from disk.

func ConsoleSigninURL2

func ConsoleSigninURL2(
	credentials aws.Credentials,
	destination string,
	event *events.APIGatewayV2HTTPRequest,
) (string, error)

ConsoleSigninURL exchanges a set of STS credentials for a signin token that grants the opener access to the AWS Console per the algorithm outlined in <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html>. The event parameter may be nil, in which case we attempt to learn the issuing URL by reading substrate.intranet-dns-domain-name from disk.

Types

This section is empty.

Jump to

Keyboard shortcuts

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