aemfed icon indicating copy to clipboard operation
aemfed copied to clipboard

Pass targets option via AEMFED_TARGETS environment variable

Open marto opened this issue 3 years ago • 1 comments

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 avatar Mar 05 '21 03:03 marto

I've raised a small PR for this... https://github.com/abmaonline/aemfed/pull/32 Can this be added into the next release?

marto avatar Mar 07 '21 05:03 marto