Is the MONGODB-AWS authentication mode supported?
Answered
The MONGODB-AWS authentication mode option exists in the latest releases. It doesn't appear in the feature matrix. Having trouble connecting to Atlas with MONGODB-AWS credentials and would like to verify it should work.
Yes, supported.
In the connection editor, select authentication -> MONGODB-AWS. If Access key ID is empty, NoSQLBooster automatically reads the environment variable AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.
If you already have a MongoDB URI that you can access, you can also import the MongoDB URI.
mongodb+srv://<atlas-host-name>/test?authSource=%24external&authMechanism=MONGODB-AWS
Yes, supported.
In the connection editor, select authentication -> MONGODB-AWS. If Access key ID is empty, NoSQLBooster automatically reads the environment variable AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.
If you already have a MongoDB URI that you can access, you can also import the MongoDB URI.
mongodb+srv://<atlas-host-name>/test?authSource=%24external&authMechanism=MONGODB-AWS
How about using AWS IAM roles with temporary credentials? Is there a way to specify AWS_SESSION_TOKEN?
How about using AWS IAM roles with temporary credentials? Is there a way to specify AWS_SESSION_TOKEN?
You can use env.AWS_SESSION_TOKEN or AWS credential profile.aws_session_token.
The following is the code in NoSQLBooster to handle the AWS environment variable
You can use env.AWS_SESSION_TOKEN or AWS credential profile.aws_session_token.
The following is the code in NoSQLBooster to handle the AWS environment variable
Replies have been locked on this page!