Skip to content

Support software MFA value in .netrc #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
iainelder opened this issue Jan 27, 2023 · 0 comments
Open

Support software MFA value in .netrc #5

iainelder opened this issue Jan 27, 2023 · 0 comments

Comments

@iainelder
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant