Skip to content

AmpMVn/keycloak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Export complete keycloak realm rs-platform

docker exec -it rentsoft_ms_user_keycloak /opt/jboss/keycloak/bin/standalone.sh \
-Djboss.socket.binding.port-offset=100 -Dkeycloak.migration.action=export \
-Dkeycloak.migration.provider=singleFile \
-Dkeycloak.migration.realmName=rs-platform \
-Dkeycloak.migration.usersExportStrategy=REALM_FILE \
-Dkeycloak.migration.file=/tmp/keycloak/rs_platform_realm.json

Connect to gke cluster

gcloud container clusters get-credentials rs-ms-user-a --region europe-west3 --project x0-marketing

Copy from GKE stage

kubectl cp default/rs-ms-user-69c5fd9459-5kpfp:/tmp/rs_platform_realm.json -c rs-ms-user ./rs_platform_realm_prod.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published