Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4330

Add Kubernetes Support for OIDC

    • Needed
    • Hide

      Add Kubernetes section to https://www.mongodb.com/docs/languages/python/pymongo-driver/current/security/enterprise-authentication/#mongodb-oidc.

      Supports OpenID Connect provider token usage on Azure Kubernetes Service (Azure), Elastic Kubernetes Service (AWS), and Google Kubernetes Engine (Google Cloud). It will use the local token file on the Kubernetes pod to authenticate to the MongoDB server.

      authMechanism: Set to "MONGODB-OIDC"
      properties = {"ENVIRONMENT": "k8s"}
      

      Also, remove k8s from the "Other Azure Environments" section.

      Show
      Add Kubernetes section to https://www.mongodb.com/docs/languages/python/pymongo-driver/current/security/enterprise-authentication/#mongodb-oidc . Supports OpenID Connect provider token usage on Azure Kubernetes Service (Azure), Elastic Kubernetes Service (AWS), and Google Kubernetes Engine (Google Cloud). It will use the local token file on the Kubernetes pod to authenticate to the MongoDB server. authMechanism: Set to "MONGODB-OIDC" properties = { "ENVIRONMENT" : "k8s" } Also, remove k8s from the "Other Azure Environments" section.

      This ticket was split from DRIVERS-2882, please see that ticket for a detailed description.

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: