GCP x509 Workload Federation in python using TPM based authentication and openssl
assume you have a workload federation trusted cert and PEM key (workload3.crt
, workload3.key
), the following will embed the key into the tpm. Workload federation will use the tpm-based key for mtls.
you can ofcourse create the key inside the tpm or securely import it. those options are described here