aws

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credential

type Credential = api.Credential

func AssumeNamedRole

func AssumeNamedRole(creds Credential, accountNumber string, roleNameToAssume string) (Credential, error)

Given a set of credentials, an account number, and a role name to assume, this function returns a new set of credentials with the given role, or an error if it could not be assumed

Jump to

Keyboard shortcuts

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