Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct { AccessKeyId string AccessKeySecret string SecurityToken string Expiration time.Time }
func AssumeRoleWithOIDCToken ¶
func (*Credential) DeepCopy ¶
func (c *Credential) DeepCopy() *Credential
type RoleProvider ¶
type RoleProvider struct {
// contains filtered or unexported fields
}
func NewRoleProvider ¶
func NewRoleProvider(providerArn, roleArn, tokenFile, policy, roleSessionName string, sessionDuration time.Duration) (*RoleProvider, error)
func (*RoleProvider) GetCredential ¶
func (p *RoleProvider) GetCredential(ctx context.Context) (*Credential, error)
Click to show internal directories.
Click to hide internal directories.