oidcutil

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSOIDCInfo

type AWSOIDCInfo struct {
	RoleARN         *arn.ARN       `mapstructure:"role-arn"`
	SessionName     string         `mapstructure:"session-name"`
	Region          string         `mapstructure:"region"`
	SessionDuration *time.Duration `mapstructure:"session-duration"`
}

func ParseAWSOIDCInfo

func ParseAWSOIDCInfo(oidcInfo string) (*AWSOIDCInfo, error)

ParseAWSOIDCInfo takes a string that represents a list of oidc key/value pairs and returns it in the form of a *AWSOIDCInfo. The function errors if the string is invalid, including unexpected keys and/or values.

func (*AWSOIDCInfo) RoleARNString

func (oi *AWSOIDCInfo) RoleARNString() string

func (*AWSOIDCInfo) String

func (oi *AWSOIDCInfo) String() string

Jump to

Keyboard shortcuts

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