You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's set up a per-cluster PCCS, meaning:
* a single service that chaces all the DCAP collateral requests
* "indirect" DCAP registration, which stores the encrypted platform keys
on PCCS
* PCCS database on a dedicated node, where the admin knows what to back
up (if needed)
This is required in order to have attestation working for TDX, be it
using DCAP directly or ITA.
Signed-off-by: Fabiano Fidêncio <[email protected]>
Signed-off-by: Mikko Ylinen <[email protected]>
echo"SKIP_NFD: Skip NFD operator installation and CR creation (default: false)"
416
482
echo"TRUSTEE_URL: Trustee URL to be used in the kernel config (default: http://kbs-service:8080)"
417
483
echo"CMD_TIMEOUT: Timeout for the commands (default: 900)"
484
+
echo""
485
+
echo"Some environment variables required for TDX deployment:"
486
+
echo"PCCS_API_KEY: The API key from https://api.portal.trustedservices.intel.com/ (THIS MUST BE PROVIDED)"
487
+
echo"PCCS_DB_NAME: The name of the pccs database (if none is set, \"database\" will be used)"
488
+
echo"PCCS_DB_USERNAME: The name of the pccs database user (if none is set, \"username\" will be used)"
489
+
echo"PCCS_DB_PASSWORD: The password of the pccs database user (if none is set, \"password\" will be used)"
490
+
echo"PCCS_USER_TOKEN: the user token for the PCCS client user to register a platform (if none is set, \"mytoken\" will be used)"
491
+
echo"PCCS_ADMIN_TOKEN: the admin token for the PCCS client user to register a platform (if none is set, \"mytoken\" will be used)"
492
+
echo"PCCS_PEM_CERT_PATH: The path where PCK (private.pem) and PCK Cert (certificate.pem) can be found (if none is passed, a pccs_tls folder will be created in your \$HOME directory, where PKC and PKC Cert will be created and used)"
418
493
# Add some example usage options
419
494
echo""
420
495
echo"Example usage:"
@@ -465,6 +540,47 @@ function verify_params() {
465
540
return 1
466
541
fi
467
542
543
+
if [ "$TEE_TYPE"="tdx" ];then
544
+
if [ -z"$PCCS_API_KEY" ];then
545
+
echo"PCCS_API_KEY is a required environment variable for TDX deployment"
0 commit comments