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.