The only current way to make Command Line changes to the Configuration Directory Store, is to export an xml file, edit it and then import the edited file back into OpenAM.
So to get the needed xml file, you can get it from here:
and then after you edit it, you can put it in the AM with the set command:
This is adds difficulty to scripting changes to the Configuration Data Store settings from the command line. Please provide a more scriptable method (non xml) to add additional configuration data stores, or change Connection Pools settings, or Directory Manager password's.