vagrant
vagrant copied to clipboard
Create vagrant cloud http client
Description
We need to create an http client for interacting with Vagrant Cloud. Should be defined within the SDK. It should support having the authentication token set and automatically apply the auth header on requests. Should include conditional application of header based on destination host (like how we do it in the cloud middleware for adding auth in the Ruby implementation).
Ideally we should also have a way for plugins to request the client (so an endpoint somewhere and mappers) but depending we can cut that into a separate ticket.
Use case (optional)
The user and plugins will be able to interact with Vagrant Cloud
Supporting materials
Will require hooks to be implemented hashicorp/vagrant#12853 Pre-existing work: hashicorp/vagrant#287 and hashicorp/vagrant-plugin-sdk#172
Estimated task complexity time-frame (does not guarantee a delivery date)
- [ ] 1 day
- [x] 1 week
- [ ] 2-3 weeks
Estimated user impact
Major