Imports github.com/cloudfoundry/bosh-utils/logger github.com/cloudfoundry/bosh-utils/errors github.com/cloudfoundry/bosh-utils/httpclient github.com/cloudfoundry/bosh-utils/crypto Standard library imports crypto/x509 encoding/base64 encoding/json fmt io/ioutil net net/http net/url sort strconv strings time