Details
-
Bug
-
Resolution: Unresolved
-
Major
-
master
-
None
-
Untriaged
-
0
-
Unknown
Description
What's the issue?
Since fetching the credentials could be a REST API request we should accept a context in the interface parameters that would benefit from the parent timeouts or cancelation.
The method in question is `GetCredentials` here: https://github.com/couchbase/tools-common/blob/d56ba2fc604aa058f6283cefb2e4183adf65e0e4/aprov/provider.go#L3-L8
It would also be useful to consider if we should pass in the context to `GetUserAgent`