Skip to content

Commit

Permalink
Update session.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jasdel authored Feb 22, 2017
1 parent c7cb4a9 commit 58cb169
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aws/session/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ type Options struct {
SharedConfigState SharedConfigState

// When the SDK's shared config is configured to assume a role with MFA
// this option is required in order to provide the mechinisum that will
// this option is required in order to provide the mechanism that will
// retrieve the MFA token. There is no default value for this field. If
// it is not set an error will be returned when creating the session.
//
Expand All @@ -162,10 +162,10 @@ type Options struct {
// share the session where possible.
//
// stscreds.StdinTokenProvider is a basic implementation that will prompt
// from stdin for a string value that will be used as the MFA token.
// from stdin for the MFA token code.
//
// This field is only used if the shared config enables assume role with
// MFA support.
// This field is only used if the shared configuration is enabled, and
// the config enables assume role wit MFA via the mfa_serial field.
AssumeRoleTokenProvider func() (string, error)
}

Expand Down

0 comments on commit 58cb169

Please sign in to comment.