tdviet / fedcloudclient

EGI FedCloud Client
https://fedcloudclient.fedcloud.eu
MIT License
8 stars 10 forks source link

Supporting mytoken service #170

Closed tdviet closed 2 years ago

tdviet commented 2 years ago

Although oidc-agent is proven to be an excellent tool for managing access token, mytoken is potentially better solution for getting access token in CI/CD environment or VM. It would be useful to integrate with mytoken in a similar way like oidc-agent.

The syntax looks like that:

fedcloud ... --mytoken "EkhHfVPsiYPe...."

Mytoken API for getting access token: https://mytoken-docs.data.kit.edu/dev/api/latest/endpoints/at/

tdviet commented 2 years ago

Done in https://github.com/tdviet/fedcloudclient/pull/171