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

Authenticate the Gigalixir CLI with an API key instead of interactive login #48

Closed

Conversation

nickdichev
Copy link

I have MFA enabled on the account associated with deploying the application. The default CLI login becomes interactive in this case because it waits for the MFA token. However, all the login process does is shove an API key in ~/.netrc.

This PR makes the changes to populate ~/.netrc with the given API key instead of relying on the interactive login. The changes are written in a way such that using the API key is opt-in and existing actions will continue to work.

Closes #44

@KamanaHealth KamanaHealth closed this by deleting the head repository Oct 24, 2024
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

Successfully merging this pull request may close these issues.

Executing Action with API Key
2 participants