Documentation ¶
Index ¶
- Constants
- Variables
- type Client
- func (c *Client) BestAccessKeyForUser(user string) (string, time.Time, error)
- func (c *Client) GetAccessKeys(user string) (*iam.AccessKeyMetadata, *iam.AccessKeyMetadata, error)
- func (c *Client) RotateAccessKeyForUser(user string) (string, string, error)
- func (c *Client) RotateAccessKeyForUserFollowup(user string, recentUse time.Duration) error
Constants ¶
View Source
const MaxAccessKeys = 2
Variables ¶
View Source
var ( ErrNoOldKey = fmt.Errorf("no old key") ErrRecentlyUsed = fmt.Errorf("recently used") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BestAccessKeyForUser ¶
func (*Client) GetAccessKeys ¶
func (c *Client) GetAccessKeys(user string) (*iam.AccessKeyMetadata, *iam.AccessKeyMetadata, error)
func (*Client) RotateAccessKeyForUser ¶
Click to show internal directories.
Click to hide internal directories.