oidcutil

package
v0.8.13 Latest Latest
Warning

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

Go to latest
Published: May 28, 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