> Markdown version of https://docs.laavat.io/producttemplates/templates/ from the LAAVAT PKI and Signing Platform documentation. All pages: https://docs.laavat.io/llms.txt

# Product template examples

These templates are used to create products using the REST API

## Instructions how to fill

- $PRODUCTNAME is the name of the product to be created
- $SUBEXTPROFILEID is replaced with the CA certificate profile ID of the desired profile
- $ENDEXTPROFILEID is replaced with the End-Entity certificate profile ID of the desired profile
- $WRITERGROUP is the ID of the group which are intended as requestors
- $APPROVERGROUP is the ID of the group which are intended as approvers

## Example templates

- [Example](https://docs.laavat.io/producttemplates/product.template) of Product which creates an Device CA and an operation to issue Device certificates.
- [Example](https://docs.laavat.io/producttemplates/product-with-rauc-calocal.template) of Product which creates an CA and an Code signing certificate with RAUC signing operation.
- [Example](https://docs.laavat.io/producttemplates/product-cst.template) of Product which creates an HAB tree and an operation to sign the SPL or FIT images with the HAB tree keys.
- [Example](https://docs.laavat.io/producttemplates/product-ahab-cst.template) of Product which creates an AHAB tree with ECDSA keys and an operation to sign the AHAB container with the AHAB tree keys.
- [Example](https://docs.laavat.io/producttemplates/product-spsdk-ahab.template) of Product which creates four SRK certificates (no SGK) and a `SignSPSDK` operation to sign an AHAB container with the SPSDK tool. For RSA keys, point the SRK profile at an RSA-PSS profile (see [SPSDK signing](https://docs.laavat.io/usage/signing-encryption/spsdksigning/)).
