-
Notifications
You must be signed in to change notification settings - Fork 2
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
base: main
Are you sure you want to change the base?
Conversation
FEAT: Create Account automated FEAT: Sign-in without user BREAK: Email, Secret Key are now required
removed unnecessary return var Added and updated comments
Future improvement: add capability to specify custom config directory, service account based authentication |
cmd/baton-1password/main.go
Outdated
l.Error("failed to read user password input: ", zap.Error(err)) | ||
} | ||
|
||
os.Setenv("BATON_PASSWORD", string(bytePassword)) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
FIX: Removed setting unnecessary env variables
Added fields, field depedancy. FEAT: Service Accounts compatibility added.
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.