digitaldemocratic/dd-sso/init/keycloak/scripts/02-extension-avatar.cli

12 lines
416 B
Plaintext

embed-server --server-config=standalone-ha.xml --std-out=echo
batch
/subsystem=keycloak-server/:write-attribute(name=providers,value=[ classpath:${jboss.home.dir}/providers/*,module:deployment.avatar-minio-extension-bundle ])
/subsystem=keycloak-server/spi=avatar-storage/:add
/subsystem=keycloak-server/spi=avatar-storage/provider=avatar-storage-minio/:add(enabled=true)
:reload
run-batch
stop-embedded-server