support for when ssh key is passed from the UI, and deletion region fix