Skip to content

Which key should be used as the RA_TLS_EPID_API_KEY? #1361

Answered by kailun-qin
jogi343 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jogi343!

The RA_TLS_EPID_API_KEY refers to the subscription key (in Section 2.1, SGX Attestation API Spec[1]), which is the "unique API key that Service Provider needs to use to authenticate itself to the service". Both the Primary and Secondary keys are subscription keys [2]. The design of two keys is basically for giving continuity to the service in case a key needs to be regenerated.

So you can use either your Primary key or Secondary key as the RA_TLS_EPID_API_KEY.

[1] https://www.intel.com/content/dam/develop/public/us/en/documents/sgx-attestation-api-spec.pdf
[2] https://www.intel.com/content/www/us/en/support/articles/000090019/software/intel-security-products.html

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jogi343
Comment options

Answer selected by jogi343
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants