1. Packages
  2. MongoDB Atlas
  3. API Docs
  4. getX509AuthenticationDatabaseUser
MongoDB Atlas v3.14.3 published on Monday, Apr 1, 2024 by Pulumi

mongodbatlas.getX509AuthenticationDatabaseUser

Explore with Pulumi AI

mongodbatlas logo
MongoDB Atlas v3.14.3 published on Monday, Apr 1, 2024 by Pulumi

    mongodbatlas.X509AuthenticationDatabaseUser describe a X509 Authentication Database User. This represents a X509 Authentication Database User.

    NOTE: Groups and projects are synonymous terms. You may find group_id in the official documentation.

    Example Usage

    S

    Using getX509AuthenticationDatabaseUser

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getX509AuthenticationDatabaseUser(args: GetX509AuthenticationDatabaseUserArgs, opts?: InvokeOptions): Promise<GetX509AuthenticationDatabaseUserResult>
    function getX509AuthenticationDatabaseUserOutput(args: GetX509AuthenticationDatabaseUserOutputArgs, opts?: InvokeOptions): Output<GetX509AuthenticationDatabaseUserResult>
    def get_x509_authentication_database_user(project_id: Optional[str] = None,
                                              username: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetX509AuthenticationDatabaseUserResult
    def get_x509_authentication_database_user_output(project_id: Optional[pulumi.Input[str]] = None,
                                              username: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetX509AuthenticationDatabaseUserResult]
    func LookupX509AuthenticationDatabaseUser(ctx *Context, args *LookupX509AuthenticationDatabaseUserArgs, opts ...InvokeOption) (*LookupX509AuthenticationDatabaseUserResult, error)
    func LookupX509AuthenticationDatabaseUserOutput(ctx *Context, args *LookupX509AuthenticationDatabaseUserOutputArgs, opts ...InvokeOption) LookupX509AuthenticationDatabaseUserResultOutput

    > Note: This function is named LookupX509AuthenticationDatabaseUser in the Go SDK.

    public static class GetX509AuthenticationDatabaseUser 
    {
        public static Task<GetX509AuthenticationDatabaseUserResult> InvokeAsync(GetX509AuthenticationDatabaseUserArgs args, InvokeOptions? opts = null)
        public static Output<GetX509AuthenticationDatabaseUserResult> Invoke(GetX509AuthenticationDatabaseUserInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetX509AuthenticationDatabaseUserResult> getX509AuthenticationDatabaseUser(GetX509AuthenticationDatabaseUserArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: mongodbatlas:index/getX509AuthenticationDatabaseUser:getX509AuthenticationDatabaseUser
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProjectId string
    Identifier for the Atlas project associated with the X.509 configuration.
    Username string
    Username of the database user to create a certificate for.
    ProjectId string
    Identifier for the Atlas project associated with the X.509 configuration.
    Username string
    Username of the database user to create a certificate for.
    projectId String
    Identifier for the Atlas project associated with the X.509 configuration.
    username String
    Username of the database user to create a certificate for.
    projectId string
    Identifier for the Atlas project associated with the X.509 configuration.
    username string
    Username of the database user to create a certificate for.
    project_id str
    Identifier for the Atlas project associated with the X.509 configuration.
    username str
    Username of the database user to create a certificate for.
    projectId String
    Identifier for the Atlas project associated with the X.509 configuration.
    username String
    Username of the database user to create a certificate for.

    getX509AuthenticationDatabaseUser Result

    The following output properties are available:

    Certificates List<GetX509AuthenticationDatabaseUserCertificate>
    Array of objects where each details one unexpired database user certificate.
    CustomerX509Cas string
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    Username string
    Certificates []GetX509AuthenticationDatabaseUserCertificate
    Array of objects where each details one unexpired database user certificate.
    CustomerX509Cas string
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    Username string
    certificates List<GetX509AuthenticationDatabaseUserCertificate>
    Array of objects where each details one unexpired database user certificate.
    customerX509Cas String
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    username String
    certificates GetX509AuthenticationDatabaseUserCertificate[]
    Array of objects where each details one unexpired database user certificate.
    customerX509Cas string
    id string
    The provider-assigned unique ID for this managed resource.
    projectId string
    username string
    certificates Sequence[GetX509AuthenticationDatabaseUserCertificate]
    Array of objects where each details one unexpired database user certificate.
    customer_x509_cas str
    id str
    The provider-assigned unique ID for this managed resource.
    project_id str
    username str
    certificates List<Property Map>
    Array of objects where each details one unexpired database user certificate.
    customerX509Cas String
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    username String

    Supporting Types

    GetX509AuthenticationDatabaseUserCertificate

    CreatedAt string
    GroupId string
    Id int
    NotAfter string
    Subject string
    CreatedAt string
    GroupId string
    Id int
    NotAfter string
    Subject string
    createdAt String
    groupId String
    id Integer
    notAfter String
    subject String
    createdAt string
    groupId string
    id number
    notAfter string
    subject string
    createdAt String
    groupId String
    id Number
    notAfter String
    subject String

    Package Details

    Repository
    MongoDB Atlas pulumi/pulumi-mongodbatlas
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the mongodbatlas Terraform Provider.
    mongodbatlas logo
    MongoDB Atlas v3.14.3 published on Monday, Apr 1, 2024 by Pulumi