是否可以使用PingFederate Admin API创建身份验证策略?

问题描述

通过查看PingFederate管理api文档,似乎没有任何方法可以通过PingFederate Admin API创建身份验证策略。有用于“获取/设置身份验证策略设置”和“获取/设置认身份验证策略”的选项,但是我看不到任何用于创建或更新自定义身份验证策略的机制。

enter image description here

解决方法

您可以使用container_commands: 1_install_wkhtmltopdf: command: yum -y install fontconfig libXrender libXext xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi freetype libpng zlib libjpeg-turbo openssl icu ignoreErrors: true 2_install_wkhtmltopdf: # see: https://wkhtmltopdf.org/downloads.html for updates command: wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-3/wkhtmltox-0.12.6-3.archlinux-x86_64.pkg.tar.xz --dns-timeout=5 --connect-timeout=5 test: test ! -f .wkhtmltopdf 3_install_wkhtmltopdf: command: tar -xJf wkhtmltox-0.12.6-3.archlinux-x86_64.pkg.tar.xz test: test ! -f .wkhtmltopdf 4_install_wkhtmltopdf: command: cp wkhtmltox/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf test: test ! -f .wkhtmltopdf 5_install_wkhtmltopdf: command: cp wkhtmltox/bin/wkhtmltoimage /usr/local/bin/wkhtmltoimage test: test ! -f .wkhtmltopdf 6_install_wkhtmltopdf: command: touch .wkhtmltopdf 端点通过 /authenticationPolicies/default 操作来创建新的身份验证策略。

这有点令人困惑,因为整个策略(或管理控制台中显示的所有身份验证策略)都在“默认”部分下。在将来的版本中,我们(免责声明:我是PingFederate工程团队的成员)可能会提供在策略中修改或创建单个项目的功能。