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"`
SessionDuration *time.Duration `mapstructure:"session-duration"`
SessionName string `mapstructure:"session-name"`
Region string `mapstructure:"region"`
}
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
Click to show internal directories.
Click to hide internal directories.