In Godot 4.3 stable, you can read the default input configuration without loading it into the InputMap by using the ProjectSettings API.

Example:

var input_map: Dictionary = ProjectSettings.get_setting("input/ui_confirm", {})