Documentation ¶ Index ¶ type Handler func NewHandler(logger *log.Logger, roleArnToAssume string) (*Handler, error) func (h *Handler) Retrieve() *identity.Proof Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Handler ¶ type Handler struct { // contains filtered or unexported fields } func NewHandler ¶ func NewHandler(logger *log.Logger, roleArnToAssume string) (*Handler, error) func (*Handler) Retrieve ¶ func (h *Handler) Retrieve() *identity.Proof Retrieve gets current identity info. The returned identity SHOULD NOT be cached or reused, because it expires every 15 minutes or less. The Handler will cache and return things as appropriate so the caller doesn't need to worry about it. Source Files ¶ View all Source files aws.go retrieve.go Click to show internal directories. Click to hide internal directories.