Getting Intel Attestation Service Credentials
Last updated
Last updated
The Intel Attestation Service (IAS) credentials allow node operators to register with Intel as Licensed Enclave operators. This credential links the operator identity with the node’s attestation evidence provided to other nodes.
Step 1: Apply for and obtain an Intel License Agreement to run MobileCoin. Please see: Partner Intel License Agreement.
Approval can take up to two weeks.
Step 2: Once your request is approved and the license issued (confirmed via email), you can create your account at the Intel Trusted Portal using the email associated with your Partner Intel License Agreement.
Step 3: Once you log in at the Trusted Portal, this landing page displays. Click on the Intel SGX Attestation Service link to create an EPID subscription.
Step 4: After you select the Intel Attestation Service, click on the Subscribe Linkable blue button (under the Production Access section.)
Step 5: Manage your Subscriptions: Click on your username and select Manage Subscriptions to see existing subscriptions. The values of the environment variables are available in this section, as mentioned in Step 6, which are required for the consensus service on start-up.
On this page, you also can navigate to the Analytics Reports, as shown here, of your attestation requests by clicking on the Analytics reports button.
Step 6: Running the Consensus Server with attestation credentials: Provide the following environment variables when running the consensus service:
IAS_SPID
IAS_API_KEY
The value of both of these values can be found on the Manage Subscriptions [add a bookmark] page, under your PROD subscription. You can use either the primary or secondary IAS_API_KEY interchangeably.
You also will need to provide the following environment variables in order to get a successful attestation result:
SGX_MODE=HW
IAS_MODE=PROD
Step 7: Verifying attestation results: On start-up, your consensus validator node will attest to the Intel Attestation Service (IAS).
The following example log output contains measurement values:
If your attestation fails, the consensus service will crash.
You can see the output of the attestation, if your log level is set to debug, via setting the environment variable RUST_LOG=debug.
The attestation output looks like the following for a SW_HARDENING_NEEDED response: