identity

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package identity provides a client to make API requests to AWS Security Token Service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Caller

type Caller struct {
	RootUserARN string
	Account     string
	UserID      string
}

Caller holds information about a calling entity.

type STS added in v0.0.8

type STS struct {
	// contains filtered or unexported fields
}

STS wraps the internal sts client.

func New

func New(s *session.Session) STS

New returns a STS configured with the input session.

func (STS) Get added in v0.0.8

func (s STS) Get() (Caller, error)

Get returns the Caller associated with the Client's session.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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