sts

package
v0.12.8-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssumeRole

func AssumeRole(stsClient *client.Client, roleArn, roleSessionName, regionID string) (*openapiV2.Config, error)

func NewSTSClient

func NewSTSClient(userAccessKeyID, userSecretAccessKey, regionID string) (*client.Client, error)

Types

type Sts

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

func NewSTS

func NewSTS() *Sts

func (*Sts) GetSTSClient

func (s *Sts) GetSTSClient(clientIdentifier, userAccessKeyID, userSecret, regionID string) (*client.Client, error)

func (*Sts) IsSTSTokenValid

func (s *Sts) IsSTSTokenValid(clientIdentifier string) bool

type StsClient

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

Jump to

Keyboard shortcuts

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