-
Notifications
You must be signed in to change notification settings - Fork 52
DOCSP-26403: changes to aws credential retrieval #691
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
DOCSP-26403: changes to aws credential retrieval #691
Conversation
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.
Nice work! Just a couple of small questions/items.
to retrieve credentials from the environment. As a result, if you | ||
have a shared AWS credentials file or config file, the driver will | ||
use those credentials by default if there are no AWS authentication | ||
environment variables set. | ||
|
||
To override this behavior, you can perform one of the following actions: |
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.
Suggestion
I think this sentence is a little long and covers a couple of ideas, so I would recommend breaking it into two different sentences and combining it with the next line. I also reworded the second sentence a bit to put the actionable part first.
to retrieve credentials from the environment. As a result, if you | |
have a shared AWS credentials file or config file, the driver will | |
use those credentials by default if there are no AWS authentication | |
environment variables set. | |
To override this behavior, you can perform one of the following actions: | |
to retrieve credentials from the environment. As a result, if you | |
have a shared AWS credentials file or config file, the driver will | |
use those credentials by default. You can override this behavior | |
by performing one of the following actions: |
- Set ``AWS_SHARED_CREDENTIALS_FILE`` in your shell or set the | ||
equivalent environment variable value in your application. |
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.
Question
Set it to what? I am assuming it is the full path to the credential file, but think it would be helpful to specify this for the reader.
equivalent environment variable value in your application. | ||
- Create an AWS profile for your MongoDB credentials and set the | ||
``AWS_PROFILE`` environment variable to that profile name. | ||
|
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.
Question
What if you do both of these options? Which one has precedence? Might be beyond the scope or not something you can answer, but was a thought that came to mind.
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 might be out of scope. I'm not sure what the order is
source/whats-new.txt
Outdated
|
||
Mutually Recursive Schema Type Checking | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
This release also includes added support for **mutually |
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.
Suggestion
Given how you've restructured this beginning, the "also" here seems out of place and that it doesn't flow well.
This release also includes added support for **mutually | |
This release includes added support for **mutually |
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.
LGTM!
* DOCSP-26403: changes to aws credential retrieval * formatting fixes * capitalization * DB PR fixes 1 (cherry picked from commit 5bcdb61)
* DOCSP-26403: changes to aws credential retrieval * formatting fixes * capitalization * DB PR fixes 1 (cherry picked from commit 5bcdb61)
* DOCSP-26403: changes to aws credential retrieval * formatting fixes * capitalization * DB PR fixes 1 (cherry picked from commit 5bcdb61)
* DOCSP-26403: changes to aws credential retrieval * formatting fixes * capitalization * DB PR fixes 1 (cherry picked from commit 5bcdb61)
* DOCSP-26403: changes to aws credential retrieval * formatting fixes * capitalization * DB PR fixes 1 (cherry picked from commit 5bcdb61)
* DOCSP-26403: changes to aws credential retrieval * formatting fixes * capitalization * DB PR fixes 1 (cherry picked from commit 5bcdb61)
* DOCSP-26403: changes to aws credential retrieval * formatting fixes * capitalization * DB PR fixes 1
Pull Request Info
PR Reviewing Guidelines
JIRA - DOCSP-26403
Staging:
Self-Review Checklist