fix(security): validate bedrock endpoint URLs
This commit is contained in:
1 parent
84b92c859e
commit
8b0b06f765
7 files changed
+141
-8
No files matched your search
@@ -1181,6 +1181,7 @@ export const en: Record<string, string> = {
|
||||
"form.aws.errProfileRequired": "AWS profile name required.",
|
||||
"form.aws.errIamRequired": "Access key id and secret access key required for IAM auth.",
|
||||
"form.aws.errBearerRequired": "Bearer token required.",
|
||||
"form.aws.errEndpointUrlInvalid": "Endpoint URL must be an HTTPS AWS Bedrock runtime endpoint or a private endpoint.",
|
||||
"form.azure.apiKey": "API key",
|
||||
"form.azure.baseUrl": "Base URL (optional)",
|
||||
"form.azure.resourceName": "Resource name (optional)",
|
||||
|
||||
@@ -1181,6 +1181,7 @@ export const zh: Record<string, string> = {
|
||||
"form.aws.errProfileRequired": "请填写 AWS Profile 名称。",
|
||||
"form.aws.errIamRequired": "IAM 认证需要 Access Key ID 和 Secret Access Key。",
|
||||
"form.aws.errBearerRequired": "请填写 Bearer Token。",
|
||||
"form.aws.errEndpointUrlInvalid": "Endpoint URL 必须是 HTTPS AWS Bedrock Runtime endpoint 或私有 endpoint。",
|
||||
"form.azure.apiKey": "API Key",
|
||||
"form.azure.baseUrl": "Base URL(可选)",
|
||||
"form.azure.resourceName": "资源名称(可选)",
|
||||
|
||||
Reference in new issue
Block a user