将Workbench连接到受Basic Auth保护的端点 [英] Connect Workbench to Basic Auth protected endpoint
问题描述
是否可以针对通过基本身份验证凭据保护的现有Eth/PoA RPC端点部署工作台?
Is it possible to deploy workbench against an existing Eth/PoA RPC endpoint protected via basic auth credentials?
Workbench似乎不喜欢我提供的语法.例如-https://username:password @ rpcEndpoint-在配置中不被接受.基本身份验证是我需要访问的网络终结点的强制性要求.
Workbench does not seem to like the syntax I'm providing. For example - https://username:password@rpcEndpoint - is not being accepted on configuration. Basic auth is a mandatory requirement for the network endpoints I need to hit.
所以问题是:工作台是否在初始部署时提供基本身份验证? &适当的URL语法是什么?是否可以利用授权标头或其他某种身份验证机制?
So the question is: does workbench accommodate basic auth on the initial deployment? & what is the appropriate URL syntax? Is it possible to leverage authorization headers or some other authentication mechanism?
非常感谢您对此提供的帮助或反馈.
I would greatly appreciate any help or feedback on this.
推荐答案
尼克,
感谢您使用Workbench.当前,Workbench不支持带有使用现有区块链网络"的基本身份验证.特征.但是,Workbench支持URL中的访问键,例如:
Thanks for using Workbench. Currently, Workbench does not support basic authentication with the "Use existing blockchain network" feature. However, Workbench support access keys in the URL such as: https://contoso.blockchain.azure.com:3200/J2COYJIqXka3pIzv_ZiMNApn. If you supply such a URL that has an access key in it, Workbench will handle the connection.
谢谢.
这篇关于将Workbench连接到受Basic Auth保护的端点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!