Replies: 1 comment 1 reply
-
We do have an implementation that allows passing in the file contents directly. The file paths get set as part of the LWS library we depend on, so we do not have control over this. While setting up IoT, the certs get downloaded as files automatically, so I am wondering how you can directly get the string. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We intend to use a CredentialProvider with KVS WebRTC. Upon reviewing the documentation, we found that the
createLwsIotCredentialProvider
function can be utilized.While using the path to obtain the IoT certificate and private key works fine, our current situation prevents us from obtaining the file paths for the IoT certificate and private key, we can only retrieve the string of the certificate and private key, and furthermore, we want to avoid writing out the key in a text file. After examining the source code, it appears that the relevant CredentialProvider functions only accept file paths for the certificate and private key. In this context, is there a solution to address our scenario?
Beta Was this translation helpful? Give feedback.
All reactions