This topic has 0 replies, 1 voice, and was last updated 9 months, 4 weeks ago by soma.
-
AuthorPosts
-
September 6, 2021 at 3:08 am #28683
soma
ParticipantHello,
I am learning how to use Amster in Docker.
I have a docker image withTomcat 9.0
+ deployedopenam.war
v7.1. The initial OpenAM configuration is done by this:$JAVA_HOME/bin/java -jar openam-tools/configuration-tool/openam-configurator-tool-14.1.3.10.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-exportCan I have somehow an Amster described above?
-
AuthorPosts
You must be logged in to reply to this topic.