CLOUD-210 validate public key

On this way we can use it in the gcc integration not just in aws