[SERVER-39894] Add support for AWS credentials in the shell Created: 28/Feb/19  Updated: 29/Oct/23  Resolved: 15/Apr/19

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 4.1.11

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Shreyas Kalyan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-39897 Implement field level encryption for ... Closed
Documented
is documented by DOCS-12640 Docs for SERVER-39894: Add support fo... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2019-03-25, Security 2019-04-08, Security 2019-04-22
Participants:

 Description   
  1. Add support for AWS credentials in Mongo() constructor (see scripting/mozjs/mongo.cpp)
  2. Add support for reading AWS information from command line flags

awsAccessKeyId=<string>

  • AWS Access Key Id, an identifier, not security sensitive
    awsSecretAccessKey=<string>
  • AWS Secret Key, paired with Key Id, security sensitive
  • It must be redacted from the command line
  • Will be held in secure memory (i.e. non-pageable, not captured by dumps, zeroed on free)
    awsSessionToken=<string>
  • Optional AWS Session Token Id, an identifier, not security sensitive
    awsRegion=<string>
  • AWS Region name

For API details, see scope



 Comments   
Comment by Githook User [ 15/Apr/19 ]

Author:

{'name': 'Shreyas Kalyan', 'username': 'shreyaskalyan', 'email': 'shreyas.kalyan@10gen.com'}

Message: SERVER-39894 Add support for AWS credentials in the shell
Branch: master
https://github.com/mongodb/mongo/commit/b5c774f90e2683147659a0e4df5f1a8fc0dad79a

Comment by Githook User [ 15/Apr/19 ]

Author:

{'email': 'shreyas.kalyan@10gen.com', 'name': 'Shreyas Kalyan', 'username': 'shreyaskalyan'}

Message: SERVER-39894 Add support for AWS credentials in the shell
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/bdadf6054a80da1eec6ce01cb2ed50cb2ce4e0c4

Generated at Thu Feb 08 04:53:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.