client/lxd_images.go
func (r *ProtocolLXD) GetImageSecret(fingerprint string) (string, error) {
	op, err := r.CreateImageSecret(fingerprint)
	if err != nil {
		return "", err
	}
	opAPI := op.Get()

	return opAPI.Metadata["secret"].(string), nil
}
func (r *ProtocolLXD) GetImageSecret(fingerprint string) (string, error) {
	op, err := r.CreateImageSecret(fingerprint)
	if err != nil {
		return "", err
	}
	opAPI := op.Get()

	return opAPI.Metadata["secret"].(string), nil
}
// GetImageSecret is a helper around CreateImageSecret that returns a secret for the image