To connect to your cloud resources, Oracle Developer Tools for Visual Studio uses a config file and a private key .PEM file with the corresponding public API key registered in your Oracle Cloud account. These files can be easily generated (often completely automatically) using the OCI CLI tool.
This page shows how to install and use the OCI CLI tool.