CLOUD-364 encode azure public key

depends on #389