distribute config to multiple devices

I need to upload same configuration to multiple devices.
I use CLI export\import but i cant get passwords for vpn and autoupgrade service..
There is any way to export\import passwords of some ROS services?

Manually using “export” or “export compact”, my IPSec peer passwords do get exported correctly. What VPU are you using?

If you are using a script or a schedule make sure the “sensitive” policy is checked or you’ll get just “*” as the password.

my bad. vpn exports fine.
but how i can export\import settings in
/system upgrade upgrade-package-source
?

/system upgrade upgrade-package-source export

there is no passwords
i need distribute these settings with passwords

There doesn’t seem to be a script-able way to export/import the passwords, however people have found a workaround. You can manually copy/paste code into the terminal followed by the password (and a blank line or more code):

/system upgrade upgrade-package-source add address=192.168.88.5 user=name
myPassword
/more commands...

Threads discussing this can be found here:
https://www.google.com/#q=site:forum.mikrotik.com+upgrade+package+source+script

There really should be a password=xxxxx option, so that it can be scripted like:

/system upgrade upgrade-package-source add address=192.168.88.5 user=name password=myPassword