I was just looking over some of the notes for the nice new CLI we're going to see in 1.2 and was thinking to myself how annoying it is to have to keep providing a user name & password. The AWS CLI allows you to store your access key and secret key in environment variables. Could you do something like that for the Stardog CLI? It may be too simplistic or insecure for some scenarios but in many cases I think it'd be quite useful. It could also eliminate having to add the admin password to the Windows service shutdown scripts.
--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
I know but my solution plus alias already works and is almost as good. :)
Yes, but what I meant was that we pass nothing at all in the CLI. We just pass it the commands and it automatically pulls the username and password from some environment variables like STARDOG_USERNAME and STARDOG_PASSWORD.
--
Terribly insecure, like embedding the Stardog admin password in the Windows service shutdown batch file?
I agree that it's a bit insecure. But again I go back to the AWS CLI. You can embed your access key and secret key in the environment so that you don't have to keep passing it on the command line. If someone grabbed them they could do a lot of damage to your account. So Amazon either feels that those risks are minimal or worth it.
Ideally I'd love it if Stardog could somehow be aware of local user accounts. Or if you could tie it into an organization's LDAP or something like that. Or some way to recognize that someone running the command line locally is an admin.
--