uber-node / tcurl

A command line utility to talk to tchannel servers
MIT License
36 stars 7 forks source link

Add support to tcurl as another service #119

Open sr228822 opened 8 years ago

sr228822 commented 8 years ago

It would be useful to have a tcurl option to specify the requesting service.

Usecase: Testing auth changes

Something like... tcurl --asService

kriskowal commented 8 years ago

I’m adding --cn #121

I’m also adding a $USER@ prefix to the caller name to increase traceability. Would that interfere with your use-case?

sr228822 commented 8 years ago

uhh, it might. Our authorization models require exact service names. If we prefix the service name with a $USER@ prefix it wouldnt match.

kriskowal commented 8 years ago

I will add a --sneaky flag then.