1. Packages
  2. MongoDB Atlas
  3. API Docs
  4. get509AuthenticationDatabaseUser
MongoDB Atlas v3.14.2 published on Monday, Mar 18, 2024 by Pulumi

mongodbatlas.get509AuthenticationDatabaseUser

Explore with Pulumi AI

mongodbatlas logo
MongoDB Atlas v3.14.2 published on Monday, Mar 18, 2024 by Pulumi
    Deprecated: mongodbatlas.index/get509authenticationdatabaseuser.get509AuthenticationDatabaseUser has been deprecated in favor of mongodbatlas.index/getx509authenticationdatabaseuser.getX509AuthenticationDatabaseUser

    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 get509AuthenticationDatabaseUser

    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 get509AuthenticationDatabaseUser(args: Get509AuthenticationDatabaseUserArgs, opts?: InvokeOptions): Promise<Get509AuthenticationDatabaseUserResult>
    function get509AuthenticationDatabaseUserOutput(args: Get509AuthenticationDatabaseUserOutputArgs, opts?: InvokeOptions): Output<Get509AuthenticationDatabaseUserResult>
    def get509_authentication_database_user(project_id: Optional[str] = None,
                                            username: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> Get509AuthenticationDatabaseUserResult
    def get509_authentication_database_user_output(project_id: Optional[pulumi.Input[str]] = None,
                                            username: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[Get509AuthenticationDatabaseUserResult]
    func Get509AuthenticationDatabaseUser(ctx *Context, args *Get509AuthenticationDatabaseUserArgs, opts ...InvokeOption) (*Get509AuthenticationDatabaseUserResult, error)
    func Get509AuthenticationDatabaseUserOutput(ctx *Context, args *Get509AuthenticationDatabaseUserOutputArgs, opts ...InvokeOption) Get509AuthenticationDatabaseUserResultOutput

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

    public static class Get509AuthenticationDatabaseUser 
    {
        public static Task<Get509AuthenticationDatabaseUserResult> InvokeAsync(Get509AuthenticationDatabaseUserArgs args, InvokeOptions? opts = null)
        public static Output<Get509AuthenticationDatabaseUserResult> Invoke(Get509AuthenticationDatabaseUserInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<Get509AuthenticationDatabaseUserResult> get509AuthenticationDatabaseUser(Get509AuthenticationDatabaseUserArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: mongodbatlas:index/get509AuthenticationDatabaseUser:get509AuthenticationDatabaseUser
      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.

    get509AuthenticationDatabaseUser Result

    The following output properties are available:

    Certificates List<Get509AuthenticationDatabaseUserCertificate>
    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 []Get509AuthenticationDatabaseUserCertificate
    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<Get509AuthenticationDatabaseUserCertificate>
    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 Get509AuthenticationDatabaseUserCertificate[]
    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[Get509AuthenticationDatabaseUserCertificate]
    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

    Get509AuthenticationDatabaseUserCertificate

    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.2 published on Monday, Mar 18, 2024 by Pulumi