我想通过Keycloak RestAPI更新/添加密码策略。
我已经阅读了文档,但似乎只能通过API检索密码策略列表。是否有其他可能的方法,以便我可以通过Rest API处理密码策略? https://www.keycloak.org/docs-api/11.0/rest-api/index.html#_serverinforepresentation
https://www.keycloak.org/docs-api/11.0/rest-api/index.html#_passwordpolicytyperepresentation
更新:我成功地找到了密码策略值所在的领域表下的密码策略列。我认为,一旦我更新表格,我可能需要重新启动Keycloak,或者使用Keycloak Rest API(POST /{realm}/clear-realm-cache)清除Keycloak缓存https://www.keycloak.org/docs-api/11.0/rest-api/index.html,以使其生效。
我已经阅读了文档,但似乎只能通过API检索密码策略列表。是否有其他可能的方法,以便我可以通过Rest API处理密码策略? https://www.keycloak.org/docs-api/11.0/rest-api/index.html#_serverinforepresentation
https://www.keycloak.org/docs-api/11.0/rest-api/index.html#_passwordpolicytyperepresentation
我正在使用Keycloak 11。
更新:我成功地找到了密码策略值所在的领域表下的密码策略列。我认为,一旦我更新表格,我可能需要重新启动Keycloak,或者使用Keycloak Rest API(POST /{realm}/clear-realm-cache)清除Keycloak缓存https://www.keycloak.org/docs-api/11.0/rest-api/index.html,以使其生效。