-
Notifications
You must be signed in to change notification settings - Fork 126
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
SNOW-1825476 Implement programmatic access token (PAT) #1298
base: master
Are you sure you want to change the base?
Conversation
8c3e25f
to
23bd952
Compare
fa0c6a4
to
0e3f6c4
Compare
0e3f6c4
to
b4261df
Compare
requestMain.LoginName = sc.cfg.User | ||
requestMain.Token = sc.cfg.Token | ||
if sc.cfg.Password != "" && sc.cfg.Token == "" { | ||
requestMain.Token = sc.cfg.Password |
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.
Is it validated that one of the parameters {token password} is not empty?
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.
Yes, it is validated on wiremock.
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.
It is possible to fail faster :), during validation.
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.
Ok, right, done.
b4261df
to
ffeefdb
Compare
ffeefdb
to
d93d803
Compare
Description
SNOW-1825476 Implemented PAT/programmatic access token support.
Checklist