Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. aws-mfa-refresh() {
  2. local token="$1"
  3. local duration='43200'
  4.  
  5. if [[ "x$token" == 'x' ]]; then
  6. read -p 'Token: ' token
  7. fi
  8.  
  9. aws-mfa --token "$token" --duration "$duration"
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement