-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: add AsGoGetterURL() to connection #303
Conversation
28f13b6
to
b7bfe12
Compare
9968096
to
84f3037
Compare
2c42156
to
bf777ad
Compare
488a62c
to
946e12c
Compare
envPrep.Env = append(envPrep.Env, fmt.Sprintf("AWS_SECRET_ACCESS_KEY=%s", c.Password)) | ||
|
||
// credentialFilePath :="$HOME/.aws/credentials" | ||
credentialFilePath := filepath.Join(".creds", "aws", fmt.Sprintf("cred-%d", rand.Intn(100000000))) |
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.
@moshloop using fs/FS
wasn't possible because it seems to be read-only. Can't create new files or write to one.
946e12c
to
a40b7ca
Compare
|
||
type EnvPrep struct { | ||
// Env is the connection credentials in environment variables | ||
Env []string |
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.
What is the difference between envs and command envs ?
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.
Env would provide you the credentials as standalone env vars. You could use either env var or the config file.
fe151f7
to
52d0bf0
Compare
No description provided.