AssumeRole

command
v0.0.0-...-e8b88a3 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

AssumeRolev2.go

This example gets temporary security credentials to access resources.

go run AssumeRolev2.go -r ROLE-ARN -s SESSION-NAME

  • ROLE-ARN is the ARN of the role to assume.
  • SESSION-NAME is the name of the assumed role session.

The unit test accepts similar values in config.json.

Documentation

Overview

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX - License - Identifier: Apache - 2.0 snippet-start:[sts.go-v2.AssumeRole]

Jump to

Keyboard shortcuts

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