Rotate API keys for your transaction node¶
Each transaction node of your Quorum Blockchain Service (QBS) member has two API keys which enable you to control access to the node. Periodically rotating API keys keeps access to your transaction nodes secure in the event that an API key is compromised.
Rotating the API keys of your transaction node requires you to udpate the connection string for any tools or applications that connect to your transaction node.
Retrieve your existing API keys¶
You can use the QBS management API to view the existing API keys for the transaction nodes of your QBS member. Select Authorize on the API website to authorize running the APIs.
Once you authorize the API, select the PUT request for Adds a transaction node under the TransactionNodes section, and select Try it out.
In the fields for the API request, fill out the following using your QBS member information:
subscriptionID- Your subscription ID, in the Overview tab for your QBS member, under the Essentials section.
resourceGroupName- The resource group to which your QBS member is deployed. Note this is NOT the Managed Application resource group.
blockchainMemberName- The name of your QBS member, also known as the name of your Managed Application, located in the upper-left corner of the Overview tab.
transactionNodeName- The name to give your new transaction node.
Regenerate new API keys¶
Select the GET request for Regenerate the API keys for the blockchain member under the TransactionNodes section, and select Try it out.
View the Response body of the output of the API to retrieve the new keys listed in order to change your connection string for any tools or applications that connect to your transaction node.