Skip to content

feat: Update Database User Resource#1543

Merged
rakhul-mongo merged 3 commits intomasterfrom
CLOUDP-369813-database-user
Feb 4, 2026
Merged

feat: Update Database User Resource#1543
rakhul-mongo merged 3 commits intomasterfrom
CLOUDP-369813-database-user

Conversation

@rakhul-mongo
Copy link
Copy Markdown
Contributor

Proposed changes

  • Added OIDCAuthType property for federated authentication (supports USER and IDP_GROUP)
  • Added OIDC user example (examples/database-user/oidcUser.json)
  • Tested CRUDL operations

cfn-testing

image

Stack Testing

image

Atlas - Creation

image

Atlas - Update

image

Atlas - Deletion

image

Jira ticket: CLOUDP-369813

Adds OIDC federated authentication support for database users.

Link to any related issue(s):

Type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as
    expected)
  • This change requires a documentation update
  • If changes include removal or addition of 3rd party GitHub actions, I updated our internal document. Reach out to the APIx Integration slack channel to get access to the internal document.

Manual QA performed:

  • cfn invoke for each of CRUDL/cfn test
  • Updated resource in example
  • Published to AWS private registry
  • Used the template in example to create and update a stack in AWS
  • Deleted stack to ensure resources are deleted
  • Created multiple resources in same stack
  • Validated in Atlas UI
  • Verified via Atlas REST API
  • Tested drift detection
  • Included screenshots

Required Checklist:

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that this change does not generate any credentials and that they are NOT accidentally logged anywhere.
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code
  • For CFN Resources: I have released my changes in the private registry and proved my change
    works in Atlas

@rakhul-mongo rakhul-mongo force-pushed the CLOUDP-369813-database-user branch from 24caa6e to c43a045 Compare January 21, 2026 13:44
add oidcAuthType
@rakhul-mongo rakhul-mongo force-pushed the CLOUDP-369813-database-user branch from c43a045 to a5f1606 Compare January 21, 2026 13:51
@ParthasarathyV ParthasarathyV marked this pull request as ready for review January 22, 2026 22:20
@ParthasarathyV ParthasarathyV requested a review from a team as a code owner January 22, 2026 22:20
Copy link
Copy Markdown
Collaborator

@oarbusi oarbusi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

DatabaseName: &databaseUser.DatabaseName,
Description: databaseUser.Description,
LdapAuthType: databaseUser.LdapAuthType,
AWSIAMType: databaseUser.AwsIAMType,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

@rakhul-mongo rakhul-mongo added this pull request to the merge queue Feb 4, 2026
Merged via the queue into master with commit edd77b7 Feb 4, 2026
45 checks passed
@rakhul-mongo rakhul-mongo deleted the CLOUDP-369813-database-user branch February 4, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants