aristanetworks / cloudvision-python

Python resources and libraries for integrating with Arista's CloudVision platform
Apache License 2.0
27 stars 18 forks source link

Inability to pass token to GRPCClient directly #2

Closed qduk closed 3 years ago

qduk commented 3 years ago

When instantiating the connector, the token parameter only takes in a path to a file. Being able to pass in the token directly would allow for getting the token from an environment variable.

Example instantiation:

with GRPCClient(apiserverAddr, token=token, key=key, ca=ca, certs=certs):
    pass