本頁說明使用及設定 Blockchain Node Engine 時所需的權限和角色。
區塊鏈節點本身會公開 API 端點。Google 並未定義這項 API,但這是我們執行的第三方軟體的一部分。如需相關範例,請參閱 Ethereum 的 JSON-RPC 伺服器。這個端點需要 API 金鑰才能存取。API 金鑰是在 Google Cloud中管理,因此會使用「採用 IAM 控管存取權」中定義的權限。這些權限已新增到管理員角色。
角色
本節列出 Blockchain Node Engine 服務提供的所有精選角色。
檢視者
可讀取所有 Blockchain Node Engine 資源。適用於使用節點但不管理節點的工程師。API 金鑰應由管理員提供。檢視者無法直接查詢 API 金鑰。
blockchainnodeengine.googleapis.com/blockchainNodes.getblockchainnodeengine.googleapis.com/blockchainNodes.listblockchainnodeengine.googleapis.com/locations.getblockchainnodeengine.googleapis.com/locations.listblockchainnodeengine.googleapis.com/operations.getblockchainnodeengine.googleapis.com/operations.list
cloudresourcemanager.googleapis.com/projects.getcloudresourcemanager.googleapis.com/projects.list
serviceusage.googleapis.com/services.get
管理員
可完整存取所有 Blockchain Node Engine 資源。適用於區塊鏈節點管理員。
管理員擁有所有可用的權限,外加:blockchainnodeengine.googleapis.com/viewer
apikeys.googleapis.com/keys.updateapikeys.googleapis.com/keys.createapikeys.googleapis.com/keys.deleteapikeys.googleapis.com/keys.getapikeys.googleapis.com/keys.getKeyStringapikeys.googleapis.com/keys.listapikeys.googleapis.com/keys.undelete
blockchainnodeengine.googleapis.com/blockchainNodes.createblockchainnodeengine.googleapis.com/blockchainNodes.deleteblockchainnodeengine.googleapis.com/operations.cancelblockchainnodeengine.googleapis.com/operations.delete
serviceusage.googleapis.com/services.enable