aemfed
aemfed copied to clipboard
Pass targets option via AEMFED_TARGETS environment variable
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.
I've raised a small PR for this... https://github.com/abmaonline/aemfed/pull/32 Can this be added into the next release?