Closed rosstimothy closed 2 weeks ago
cc @justinas
I had a cursory look at our options.
msgraph-sdk-go
. Seems like to use it, we'd need to implement stuff like their serialization abstractions etc.azidentity
for this, since we're probably not removing it anytime soon: it is used extensively in lib/cloud/azure
etc.Let me know your thoughts about Hamilton vs. writing a client.
If writing our own client is manageable I think that'd be preferable to using Hamilton.
The msgraph dependencies caused the teleport binary to increase by ~50MB.
Relevant issue upstream: https://github.com/microsoftgraph/msgraph-sdk-go/issues/129
The ms graph folks seem to recommend building a custom client via https://github.com/microsoft/kiota to reduce the API surface of the package.
There is also an alternative package listed in that issue: https://github.com/manicminer/hamilton.
We could also create our own internal client that interacts with the endpoints that need to be interacted with instead of relying on a external dependency.