{"modulePath":"github.com/Method-Security/methodaws","version":"v0.8.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package sts\n\nPackage sts provides the data structures and logic necessary to interact with the AWS Security Token Service (STS).\n\n## Functions\n\n```go\nfunc GetAccountID(ctx context.Context, cfg aws.Config) (*string, error)\n```\nGetAccountID retrieves the account ID of the credentials that are being leveraged in this session. It provides an easy way to determine the account ID of the caller which is used throughout methodaws to enrich various resources with the account ID.\n\n```go\nfunc GetCallerArn(ctx context.Context, cfg aws.Config) (*string, error)\n```\nGetCallerArn retrieves the ARN of the credentials that are being leveraged in this session. It provides an easy way to determine the ARN of the caller which is used throughout methodaws to enrich various resources.\n\n","path":"github.com/Method-Security/methodaws/internal/sts","name":"sts","synopsis":"Package sts provides the data structures and logic necessary to interact with the AWS Security Token Service (STS).","isRedistributable":true}
