在 Edge UI 中啟用 SAML

Private Cloud v4.18.01 專用 Edge

安裝 Edge SSO 模組後,您必須將 Edge UI 設定為支援 SAML。 Edge UI 通常安裝在 Edge Management Server 所在的節點上, 與 apigee-sso 相同的節點。

在 Edge UI 上啟用 SAML 後,Edge UI 會使用 OAuth 連線至管理服務 伺服器您不必擔心 Edge UI 和 Edge 之間的 OAuth 權杖過期的問題 Management Server。過期的權杖會自動重新整理。

您必須建立設定檔來設定 Edge UI:

IP1=hostname_or_ip_of_apigge_sso

# Comma separated list of URLs for the Edge UI, 
# in the format:  http_or_https://IP_or_hostname_of_UI:9000. 
# You can have multiple URLs when you have multiple installations
# of the Edge UI or you have multiple data centers. 
EDGEUI_PUBLIC_URIS=http_or_https://IP_or_hostname_of_UI:9000

# Publicly accessible URLs for Edge UI.
EDGEUI_SSO_REGISTERED_PUBLIC_URIS=$EDGEUI_PUBLIC_URIS

# Required variables
# Default is "n" to disable SAML support.
EDGEUI_SSO_ENABLED=y

# Information about apigee-sso.
# Externally accessible IP or DNS of apigee-sso.
SSO_PUBLIC_URL_HOSTNAME=$IP1
SSO_PUBLIC_URL_PORT=9099
# Default is http. Set to https if you enabled TLS on apigee-sso.
SSO_PUBLIC_URL_SCHEME=http

# SSO admin credentials as set when you installed apigee-sso.
SSO_ADMIN_NAME=ssoadmin
SSO_ADMIN_SECRET=Secret123

# The name of the OAuth client used to connect to apigee-sso. 
# The default client name is edgeui.
EDGEUI_SSO_CLIENT_NAME=edgeui
# Oauth client password using uppercase, lowercase, number, and special chars. 
EDGEUI_SSO_CLIENT_SECRET=ssoClient123

# If set, the existing EDGEUI client is deleted and new one is created.
# The default value is "n".
# Set to "y" when you configure SAML and change the value of 
# any of the EDGEUI_* properties.
EDGEUI_SSO_CLIENT_OVERWRITE=y

如何設定 Edge UI 以啟用 SAML 支援:

  1. 執行下列指令:
    > /opt/apigee/apigee-service/bin/apigee-service Edge-uiconfigure-sso -f configFile

日後如要變更這些值,請更新設定檔,然後再次執行指令。