mongodbatlas.get509AuthenticationDatabaseUser
Explore with Pulumi AI
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.
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:
- 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.
get509AuthenticationDatabaseUser Result
The following output properties are available:
- Certificates
List<Get509Authentication
Database User Certificate> Array of objects where each details one unexpired database user certificate.
- Customer
X509Cas string - Id string
The provider-assigned unique ID for this managed resource.
- Project
Id string - Username string
- Certificates
[]Get509Authentication
Database User Certificate Array of objects where each details one unexpired database user certificate.
- Customer
X509Cas string - Id string
The provider-assigned unique ID for this managed resource.
- Project
Id string - Username string
- certificates
List<Get509Authentication
Database User Certificate> Array of objects where each details one unexpired database user certificate.
- customer
X509Cas String - id String
The provider-assigned unique ID for this managed resource.
- project
Id String - username String
- certificates
Get509Authentication
Database User Certificate[] Array of objects where each details one unexpired database user certificate.
- customer
X509Cas string - id string
The provider-assigned unique ID for this managed resource.
- project
Id string - username string
- certificates
Sequence[Get509Authentication
Database User Certificate] Array of objects where each details one unexpired database user certificate.
- customer_
x509_ strcas - 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.
- customer
X509Cas String - id String
The provider-assigned unique ID for this managed resource.
- project
Id String - username String
Supporting Types
Get509AuthenticationDatabaseUserCertificate
- created_
at str - group_
id str - id int
- not_
after str - subject str
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
mongodbatlas
Terraform Provider.