command
Version:
v0.0.0-...-e8b88a3
Opens a new window with list of versions in this module.
Published: Jun 22, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX - License - Identifier: Apache - 2.0
snippet-start:[sts.go-v2.AssumeRole]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.