Skip to content
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

Add flag to login to generate non-persisted keys #3

Open
BobWall23 opened this issue Nov 15, 2018 · 3 comments
Open

Add flag to login to generate non-persisted keys #3

BobWall23 opened this issue Nov 15, 2018 · 3 comments
Assignees

Comments

@BobWall23
Copy link
Member

BobWall23 commented Nov 15, 2018

Use Case: you are generating keys to put on a machine where you can't log in and run a web browser to do the auth0 flow. Instead, run ironhide on a machine where you do have a browser, and might already have keys generated, but run a genkeys command that causes IronHide to ignore the existing keys, generate a new set of keys, and just print the JSON to stdout. You can cut and paste it, redirect to a file, or pipe into an SSH that cats the input into a file on the remote machine.

@ernieturner
Copy link
Contributor

ernieturner commented Nov 15, 2018

Probably makes more sense to have this be a separate command now that I think about it. Something like ironhide genkeys or something. No real reason to overload the login command.

@BobWall23
Copy link
Member Author

In retrospect, that seems pretty obvious. Updated title and description.

@ernieturner ernieturner self-assigned this Nov 28, 2018
@ernieturner ernieturner transferred this issue from another repository Dec 7, 2018
@ernieturner ernieturner added this to the 2019-11-01 milestone Oct 21, 2019
@ernieturner
Copy link
Contributor

This would take more work than expected because we need to redo the Auth0 login flow and ask the user for their account password. Possible, but should include a bit of refactoring to make Auth0 flow more generic so it can be shared between login and genkeys. Repointing to 5.

@ernieturner ernieturner modified the milestones: 2019-11-01, 2019-11-15 Nov 4, 2019
@ernieturner ernieturner removed this from the 2019-11-15 milestone Nov 15, 2019
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

2 participants