Power Automate Custom Connectors basic authentication

Has anybody made a custom connector in Power Automate and been able to enter the API Key in the username and pass null into the password field or finding a way of making password optional?