base64 encoding keys and pushing data to etcd.