WildFly CLI - Add Subordinate Host Controller Server Identity Secret Value
Jump to navigation
Jump to search
Internal
Set the host controller's secret identity
Use the actual host name instead of "master". Note that the value of the host name will be used in the authentication process as "user name" on the domain controller.
/host=master/core-service=management/security-realm=ManagementRealm/server-identity=secret:add(value="YXAwMm11MTIzIQ==") { "outcome" => "success", "response-headers" => { "operation-requires-reload" => true, "process-state" => "reload-required" }, "result" => undefined, "server-groups" => undefined }
Reload
Use the actual host name instead of "master".
cd /host=master :reload
Verify if the change took.
/host=master/core-service=management/security-realm=ManagementRealm/server-identity=secret:read-attribute(name=value) { "outcome" => "success", "result" => "YXAwMm11MTIzIQ==" }