Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.25 KB

enable-shared-cred-provisioning.adoc

File metadata and controls

30 lines (25 loc) · 1.25 KB

Enable shared-credential provisioning

Note

We recommend that you view this article in our documentation portal. Not all of our articles render correctly in GitHub.

If you build a disk image with the default configuration, shared-credential provisioning is enabled by default. You can also enable it explicitly in your build configuration.

To enable shared-credential provisioning, follow these steps:
  1. If you haven’t done so already, download a provisioning key and note the path to the downloaded credentials.zip file.

  2. Add the following lines to your conf/local.conf:

    SOTA_CLIENT_PROV = "aktualizr-shared-prov"
    SOTA_PACKED_CREDENTIALS = "/path/to/your/credentials.zip"
    Note

    If you’re updating a configuration that was previously set to device-credential provisioning, make sure that you remove the line SOTA_DEPLOY_CREDENTIALS = "0".

  3. Build a standard image using bitbake.

  4. Boot the image.

    The device should now use the provisioning key to request permanent device credentials from the server. Check the dashboard in the OTA Connect Portal to make sure that the device shows up.