Help with an UI for credentials with restrict of 2 dependent fields
I am trying to change credentials UI where a user should insert username & password . The change will include another field called PEM which can be either an upload button or a dropzone. The requirement is that the user need to provide a username and a PEM File OR a Password.
The UI currently looks like so:
Where should I add the dropzone OR upload button?