def list_database_account_keys(account_name: Optional[str]=None, resource_group_name: Optional[str]=None, opts: Optional[pulumi.InvokeOptions]=None) -> AwaitableListDatabaseAccountKeysResult:
    '\n    The access keys for the given database account.\n\n\n    :param str account_name: Cosmos DB database account name.\n    :param str resource_group_name: Name of an Azure resource group.\n    '
    __args__ = dict()
    __args__['accountName'] = account_name
    __args__['resourceGroupName'] = resource_group_name
    if (opts is None):
        opts = pulumi.InvokeOptions()
    if (opts.version is None):
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20191212:listDatabaseAccountKeys', __args__, opts=opts, typ=ListDatabaseAccountKeysResult).value
    return AwaitableListDatabaseAccountKeysResult(primary_master_key=__ret__.primary_master_key, primary_readonly_master_key=__ret__.primary_readonly_master_key, secondary_master_key=__ret__.secondary_master_key, secondary_readonly_master_key=__ret__.secondary_readonly_master_key)
The access keys for the given database account.


:param str account_name: Cosmos DB database account name.
:param str resource_group_name: Name of an Azure resource group.
def list_database_account_keys(account_name: Optional[str]=None, resource_group_name: Optional[str]=None, opts: Optional[pulumi.InvokeOptions]=None) -> AwaitableListDatabaseAccountKeysResult:
    '\n    The access keys for the given database account.\n\n\n    :param str account_name: Cosmos DB database account name.\n    :param str resource_group_name: Name of an Azure resource group.\n    '
    __args__ = dict()
    __args__['accountName'] = account_name
    __args__['resourceGroupName'] = resource_group_name
    if (opts is None):
        opts = pulumi.InvokeOptions()
    if (opts.version is None):
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-native:documentdb/v20191212:listDatabaseAccountKeys', __args__, opts=opts, typ=ListDatabaseAccountKeysResult).value
    return AwaitableListDatabaseAccountKeysResult(primary_master_key=__ret__.primary_master_key, primary_readonly_master_key=__ret__.primary_readonly_master_key, secondary_master_key=__ret__.secondary_master_key, secondary_readonly_master_key=__ret__.secondary_readonly_master_key)