nanobox icon indicating copy to clipboard operation
nanobox copied to clipboard

Add app tokens

Open mbrodala opened this issue 8 years ago • 2 comments
trafficstars

To deploy apps one needs to log into Nanobox on CLI. The same goes for CI systems if a deployment should be done after a successful build.

However I don't feel very comfortable exposing my Nanobox credentials in a CI system, no matter how secure it was built.

Thus I'd like to ask for app tokens. As the name indicates these can be generated per project (similar to the auth token per user) and can be used as an alternative method to log into Nanobox. These tokens could have additional restrictions (e.g. only allow for deploy).

It should also be possible to set an app token as environment variable (e.g. NANOBOX_APP_TOKEN) similar to #300.

mbrodala avatar Feb 23 '17 13:02 mbrodala

@jedgalbraith any thoughts on this?

glinton avatar Aug 29 '17 15:08 glinton

It's totally doable from a technical standpoint and wouldn't take much. I like it.

jedgalbraith avatar Aug 29 '17 21:08 jedgalbraith