Accesing a Registry on Private Github

Is this earlier discussion helpful? How to specify the SSH key for Pkg to use