Codespaces git submodule against private org repo

Within a fork from a private repository within an Org, how would one init a git submodule using the pre-seeded SSH setup for a Codespace instance?

This can be done if the container either is built with a pre-setup SSH key, or you build it on the fly within the instance and configure directly on the external org.