onelogin / onelogin-aws-cli-assume-role

MIT License
29 stars 38 forks source link

Add parameters #4

Closed pitbulk closed 7 years ago

pitbulk commented 7 years ago

Functionality:

The new jar accepts 4 new parameters:

Example:

java -jar onelogin-aws-cli.jar -profile default -loop 3 -time 30

Will obtain AWS Credentials 3 times each 30 minutes and store them in the ~/.aws/credentials file and relate them to the 'default' profile.

richet commented 7 years ago

Looks good. We also need to update the ReadMe to include the new attributes and how to use the cli.