vmware / go-vmware-nsxt

golang library for NSX-T REST API
Other
55 stars 29 forks source link

Simple client example #15

Closed karampok closed 6 years ago

karampok commented 6 years ago

Greetings, is there any small example how can I use this library? It is unclear how to properly set up the client with the correct configuration /authentication.

Thanks!

rowanjacobs commented 6 years ago

The NSX-T Terraform provider was helpful when I was trying to set up a client. Also, in leftovers, a library that I help maintain, we have a simpler example of client authentication with just username and password.

annakhm commented 6 years ago

Hi @karampok, @rowanjacobs - indeed terraform provider is a good example. I will include it in the documentation, thanks for bringing it into attention!

karampok commented 6 years ago

Thx! this looks like start!