Nexmo / nexmo-cli

Nexmo CLI (Command Line Interface)
https://nexmo.com
MIT License
78 stars 52 forks source link

Add account info command #69

Closed cbetta closed 8 years ago

cbetta commented 8 years ago

Closes #63

I was getting tired of looking up my API credentials on the dashboard or by cat-ing my .nexmorc file, so I just added a simple way to inspect my credentials as follows:

$ nexmo account
API Key:    abc123
API Secret: def345

Besides me scratching an itch here it is also useful for those of us using the nexmo-cli with local credentials (a local .nexmorc file). It allows you to quickly confirm what credentials you are using.

cbetta commented 8 years ago

@leggetter would love a :+1: if you think this is useful

leggetter commented 8 years ago

Just wondering if there are any security concerns about this? We are storing the credentials in plain text anyway, so probably no additional concerns with this?

If that's the case, a +1 from me as I can defer how it's handy during development.

On Thu, 7 Jul 2016, 10:43 Cristiano Betta, notifications@github.com wrote:

@leggetter https://github.com/leggetter would love a 👍 if you think this is useful

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/Nexmo/nexmo-cli/pull/69#issuecomment-231032215, or mute the thread https://github.com/notifications/unsubscribe/AAUCr0b9TNfx1lo5IDWjA64FFJgZyNwyks5qTMo5gaJpZM4JG6L5 .

cbetta commented 8 years ago

@leggetter both rubygems and npm store their credentials in plain text and even through it's not ideal there's not much we can do. The general consensus is that if you're system is compromised you have bigger issues.

leggetter commented 8 years ago

:+1: to merge