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

Auto cli #19

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Auto cli #19

wants to merge 9 commits into from

Conversation

cvkramer
Copy link

@cvkramer cvkramer commented Jan 25, 2025

Feat: Execution no longer requires manual intervention, provided the necessary info
Bug: Login without 1password app fixed

Add two environment variables and marked them required in order to handle the scenario where no account exists.

Charles Kramer added 6 commits January 24, 2025 23:21
FEAT: Create Account automated
FEAT: Sign-in without user
BREAK: Email, Secret Key are now required
removed unnecessary return var
Added and updated comments
@cvkramer
Copy link
Author

cvkramer commented Jan 25, 2025

Future improvement: add capability to specify custom config directory, service account based authentication

@cvkramer cvkramer requested a review from ggreer January 25, 2025 18:47
l.Error("failed to read user password input: ", zap.Error(err))
}

os.Setenv("BATON_PASSWORD", string(bytePassword))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should generally pss this by struct and not setenv

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was doing this to get the terminal entered data to the connector on the second run. Spoke with Bjorn and we decided to remove the terminal interaction altogether.

Charles Kramer added 2 commits February 10, 2025 12:47
FIX: Removed setting unnecessary env variables
Added fields, field depedancy.

FEAT: Service Accounts compatibility added.
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.

2 participants