def METHOD_NAME(account_name: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListDatabaseAccountKeysResult:
    """
    Lists the access keys for the specified Azure Cosmos DB database account.
    :param str account_name: Cosmos DB database account name.
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    """
    __args__ = dict()
    __args__['accountName'] = account_name
    __args__['resourceGroupName'] = resource_group_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20210401preview:listDatabaseAccountKeys', __args__, opts=opts, typ=ListDatabaseAccountKeysResult).value
    return AwaitableListDatabaseAccountKeysResult(
        primary_master_key=pulumi.get(__ret__, 'primary_master_key'),
        primary_readonly_master_key=pulumi.get(__ret__, 'primary_readonly_master_key'),
        secondary_master_key=pulumi.get(__ret__, 'secondary_master_key'),
        secondary_readonly_master_key=pulumi.get(__ret__, 'secondary_readonly_master_key'))