(export-secret-in-files! keycloak-client
realm-name
client-id
{:keys [name-without-extension export-dir path]
:as secret-file})
(export-secret-in-vault! keycloak-client
{:keys [vault environment color base-domains]
:as infra-context}
realm-name
client-id)
in infra-context, [:vault :path] is a string with placeholders as: %1$s is the environment, %2$s is the color, %3$s is the base-domains, %4$s is the client-id (client-id depends of your realm-config.clj code)
in infra-context, [:vault :path] is a string with placeholders as: %1$s is the environment, %2$s is the color, %3$s is the base-domains, %4$s is the client-id (client-id depends of your realm-config.clj code)
(init! admin-client data)
(init! admin-client
data
infra-context
secret-export-dir
export-file-without-extension
secret-path)
Create a structure of keycloak objects (realm, clients, roles) and fill it with groups and users
Create a structure of keycloak objects (realm, clients, roles) and fill it with groups and users
(init-clients! admin-client
realm-name
clients-data
infra-context
export-dir
secret-file-without-extension
secret-path)
(init-groups-and-gen-users! admin-client realm-name {:keys [groups] :as data})
(init-realm! admin-client
{:keys [name themes login tokens smtp] :as realm-data})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close