presignauth

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormaliseARN

func NormaliseARN(input arn.ARN) (arn.ARN, error)

NormaliseARN will normalise an AWS IAM ARN (i.e. an ARN returned from sts:GetCallerIdentity), returning the actual role ARN, rather than an ARN showing how the credentials were obtained (such as by assuming the role). This mirrors the way AWS policy documents are written. The ARN will have the form: arn:aws:iam::$AccountId:role/$RoleName

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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