Design decision for storing certificates, private keys, passwords #142
Replies: 3 comments
-
On the client side, both a certificate and private key are required. The certificate is used to identify the client to the server by providing the public key that the client will be using, as well as a digital signature on the certificate, issued by a signer that the server trusts, to indicate that the client client is authorized to connect. The corresponding private key is also required to prove the client's identity. There are standards that bundle the certificate and private key into the same data structure, for example, .PFX, but the more general assumption is that you have one blob that is the certificate, and another blob that is the private key. Most open source products do it this way.
I totally agree with that, and it does work that way when EdgeX security is enabled. But there are use cases where EdgeX adopters don't want to run with the secret store present, and therefore a fallback mode "InsecureSecrets" allows these values to provided via configuration, because although the EdgeX security features may not be enabled for EdgeX, the upstream may still require them. |
Beta Was this translation helpful? Give feedback.
-
Please see the ADR that created InsecureSecrets for more information: https://docs.edgexfoundry.org/2.3/design/adr/014-Secret-Provider-For-All/ In your case, you want to use "service exclusive secrets" stored on the EdgeX secret store. |
Beta Was this translation helpful? Give feedback.
-
Thank you @bnevis-i. It clarifies our queries. I am closing this discussion. |
Beta Was this translation helpful? Give feedback.
-
Hi Team,
I have come across the below two services:
In the cloud export configuration file there is the provision to provide MQTT related passwords, private key and certificates.
In this regard, I have two queries here:
If at all private key is needed,
Is my understanding correct? Any help would be appreciated!!
Thanks,
Sudhamani
Beta Was this translation helpful? Give feedback.
All reactions