September 6, 2021 at 3:08 am #28683somaParticipant
I am learning how to use Amster in Docker.
I have a docker image with
Tomcat 9.0+ deployed
openam.warv7.1. The initial OpenAM configuration is done by this:
$JAVA_HOME/bin/java -jar openam-tools/configuration-tool/openam-configurator-tool-220.127.116.11.jar --file openam-tools/configuration-tool/openam-7.1-initial-config.properties -Djavax.net.ssl.trustStore=$JAVA_HOME/lib/security/cacerts
That works, I have a nice OpenAM in Docker with the default settings.
Then I am changing the settings of the OpenAM and when I see that my configuration is okay, I do an export manually with the following commands:
./amster am> connect --interactive https://openam.hello.com:8443/openam Sign in User Name: amadmin Password: ******** amster openam.hello.com:8443> export-config --path /tmp/my-realm --failOnError true
Then I would like to have a simple Amster import command that I can execute from a bash script without any user interaction. I see in your doc that for the user/pass I can use Private Key Connection option described here, but how to specify the openam URL and the import command itself with the path?
I would like to have something like this:
amster -url https://openam.hello.com:8443/openam -user amadmin -password password -import /home/my/openam-export
Can I have somehow an Amster described above?
You must be logged in to reply to this topic.