abmaonline/aemfed

Pass targets option via AEMFED_TARGETS environment variable

marto opened this issue · 1 comments

marto commented

Most of our development team use different passwords, ports etc for their AEM instances. It would be incredibly useful to pass the -t (targets) option by an environment variable so that every developer does not have to manage their own credentials in package.json file where these usually end up being stored.

Can I propose to introduce that the targets option is set to the passed -t option, AEMFED_TARGETS environment var otherwise the current default of http://admin:admin@localhost:4502

Developers should probably not be using the default admin:admin credentials and leave AEM open to the world on *:4502. You potentially opening yourself up to an attack.

marto commented

I've raised a small PR for this... #32
Can this be added into the next release?