User Tools

Site Tools


wiki:aws_cli_2fa

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
wiki:aws_cli_2fa [2024/10/29 12:58] – [See also] add aws cli commands antisawiki:aws_cli_2fa [2024/12/29 14:05] (current) – [AWS CLI with 2FA] add aws-vault tool link antisa
Line 53: Line 53:
 Here's a bash script that adds the creds each time to the file. Just pass it token-code and add your serial number. Remember to source it e.g. Here's a bash script that adds the creds each time to the file. Just pass it token-code and add your serial number. Remember to source it e.g.
   . ~/.local/bin/aws_get_session.sh 1234   . ~/.local/bin/aws_get_session.sh 1234
 +
 +Or just use [[https://github.com/99designs/aws-vault|this]]
  
 <file bash aws_get_session.sh> <file bash aws_get_session.sh>
wiki/aws_cli_2fa.1730206700.txt.gz · Last modified: 2024/10/29 12:58 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki