Fix namespace error
Add capabilities for private key file authentication