Skip to content

Support software MFA value in .netrc #5

Open
@iainelder

Description

@iainelder

I love the idea of this tool, but I can't use it in environments where I don't have a hardware MFA key configured.

If I'm not the administrator of the SSO instance, that may be outside of my control.

It's great that the authentication details are configurable via file. I think this input could be extended to support the software MFA case.

It could just store a one-time value and pass whatever is stored in the file.

I can use another tool such as the 1Password CLI to generate the correct one-time value from the MFA configuration, and use a script to write the correct configuration just in time.

If Golang has a library to generate OTP codes, then maybe it could handle that part too. In this case, the .netrc file would contain the OTP configuration and would not have to be generated for every login.

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