Documentation ¶
Overview ¶
Package sts implements a sidecred.Provider for AWS STS Credentials.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithExternalID ¶
func WithExternalID(id string) option
WithExternalID sets the external ID used to assume roles.
func WithSessionDuration ¶
WithSessionDuration overrides the default session duration.
Types ¶
type RequestConfig ¶
type RequestConfig struct { RoleARN string `json:"role_arn"` Duration *sidecred.Duration `json:"duration"` }
RequestConfig ...
func (*RequestConfig) Validate ¶ added in v0.11.0
func (c *RequestConfig) Validate() error
Validate implements sidecred.Validatable.
Click to show internal directories.
Click to hide internal directories.