NervesKey.provision
You're seeing just the function
provision
, go back to NervesKey module for more information.
Specs
provision( ATECC508A.Transport.t(), NervesKey.ProvisioningInfo.t(), X509.Certificate.t(), X509.PrivateKey.t() ) :: :ok
Provision a NervesKey in one step.
See the README.md for how to use this. This function locks the ATECC508A down, so you'll want to be sure what you pass it is correct.
This function does it all. It requires the signer's private key so handle that with care. Alternatively, please consider sending a PR for supporting off-device signatures so that HSMs can be used.