automation-suite
2.2510
true
OpenShift 上的 Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
为每个租户配置加密密钥
使用 OpenShift 上的 Azure 密钥保险库,在 Orchestrator 中为每个租户配置加密密钥。
要为每个租户配置加密密钥,请执行以下步骤:
-
更新 Orchestrator 参数。在配置文件的
orchestrator下,添加encryption_key_per_tenant部分。有关详细信息,请参阅配置 Orchestrator 参数。"orchestrator": { "enabled": true, "encryption_key_per_tenant": { "certificate_base_64": "", "certificate_password": "", "client_id": "", "directory_id": "", "vault_address": "" } }"orchestrator": { "enabled": true, "encryption_key_per_tenant": { "certificate_base_64": "", "certificate_password": "", "client_id": "", "directory_id": "", "vault_address": "" } }您必须先将证书转换为 Base64,然后才能将其用作参数覆盖。为此,请运行以下命令:
- PowerShell
[convert]::ToBase64String((Get-Content -path "path_to_certificate" -Encoding byte))[convert]::ToBase64String((Get-Content -path "path_to_certificate" -Encoding byte)) - Shell
base64 [_path_to_certificate_]base64 [_path_to_certificate_]
- PowerShell
-
应用新配置,然后等待 Orchestrator ArgoCD 应用程序同步。
-
通过在
appSettings中设置以下键来启用 EncryptionKeyPerTenant 功能:"EncryptionKeyPerTenant.Enabled": "true", "EncryptionKeyPerTenant.KeyProvider": "AzureKeyVault","EncryptionKeyPerTenant.Enabled": "true", "EncryptionKeyPerTenant.KeyProvider": "AzureKeyVault",有关更新
appSettings更多信息,请参阅“配置应用程序设置” 。备注:Identity Server 中的 SMTP 设置未使用每个租户的密钥进行加密。为每个租户启用加密密钥后,请确保在 Automation Suite 门户中重新输入 SMTP 密码。