Skip to content

Missing ability to generate 1 code, for automation purposes #9

@ibexa-yuna

Description

@ibexa-yuna

Hi,

I want to automate aws-mfa login using authenticate as OTP provider.
For that, I need the ability to generate only 1 code that is immediately passed to the upstream command.

That would probably be a bash oneliner, like:
$ authenticator generate -n 1 aws <<< $(echo password) | aws-mfa

From what I can see, this feature is missing.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions