你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

KeyClientOptions interface

KeyVault 的 KeyClient 接受的可选参数

扩展

属性

disableChallengeResourceVerification

是否禁用验证身份验证质询资源是否与 Key Vault 或托管 HSM 域匹配。 默认值为 false。

serviceVersion

要对其进行调用的 KeyVault 服务 API 的版本。

继承属性

additionalPolicies

要包含在 HTTP 管道中的其他策略。

agent

为传出请求配置代理实例的选项

allowInsecureConnection

如果请求通过 HTTP 而不是 HTTPS 发送,则设置为 true

httpClient

将用于发送 HTTP 请求的 HttpClient。

keepAliveOptions

禁用保持活动状态的选项。

proxyOptions

为传出请求配置代理的选项。

redirectOptions

有关如何处理重定向响应的选项。

retryOptions

控制如何重试失败请求的选项。

telemetryOptions

用于将常见遥测和跟踪信息设置为传出请求的选项。

tlsOptions

配置 TLS 身份验证的选项

userAgentOptions

用于将用户代理详细信息添加到传出请求的选项。

属性详细信息

disableChallengeResourceVerification

是否禁用验证身份验证质询资源是否与 Key Vault 或托管 HSM 域匹配。 默认值为 false。

disableChallengeResourceVerification?: boolean

属性值

boolean

serviceVersion

要对其进行调用的 KeyVault 服务 API 的版本。

serviceVersion?: string

属性值

string

继承属性详细信息

additionalPolicies

要包含在 HTTP 管道中的其他策略。

additionalPolicies?: AdditionalPolicyConfig[]

属性值

继承自 ExtendedCommonClientOptions.additionalPolicies

agent

为传出请求配置代理实例的选项

agent?: Agent

属性值

继承自 ExtendedCommonClientOptions.agent

allowInsecureConnection

如果请求通过 HTTP 而不是 HTTPS 发送,则设置为 true

allowInsecureConnection?: boolean

属性值

boolean

继承自 ExtendedCommonClientOptions.allowInsecureConnection

httpClient

将用于发送 HTTP 请求的 HttpClient。

httpClient?: HttpClient

属性值

继承自 ExtendedCommonClientOptions.httpClient

keepAliveOptions

禁用保持活动状态的选项。

keepAliveOptions?: KeepAliveOptions

属性值

继承自 ExtendedCommonClientOptions.keepAliveOptions

proxyOptions

为传出请求配置代理的选项。

proxyOptions?: ProxySettings

属性值

继承自 ExtendedCommonClientOptions.proxyOptions

redirectOptions

有关如何处理重定向响应的选项。

redirectOptions?: RedirectPolicyOptions & RedirectOptions

属性值

继承自 ExtendedCommonClientOptions.redirectOptions

retryOptions

控制如何重试失败请求的选项。

retryOptions?: PipelineRetryOptions

属性值

继承自 ExtendedCommonClientOptions.retryOptions

telemetryOptions

用于将常见遥测和跟踪信息设置为传出请求的选项。

telemetryOptions?: TelemetryOptions

属性值

继承自 ExtendedCommonClientOptions.telemetryOptions

tlsOptions

配置 TLS 身份验证的选项

tlsOptions?: TlsSettings

属性值

继承自 ExtendedCommonClientOptions.tlsOptions

userAgentOptions

用于将用户代理详细信息添加到传出请求的选项。

userAgentOptions?: UserAgentPolicyOptions

属性值

继承自 ExtendedCommonClientOptions.userAgentOptions