diff --git a/content/developers/developer-patterns/scitt-api/index.md b/content/developers/developer-patterns/scitt-api/index.md index bbceea15a..7f805dde6 100644 --- a/content/developers/developer-patterns/scitt-api/index.md +++ b/content/developers/developer-patterns/scitt-api/index.md @@ -73,8 +73,8 @@ Clone the [DataTrails SCITT Examples](https://github.com/datatrails/datatrails-s # File representing the signed statement to be registered SIGNED_STATEMENT_FILE="signed-statement.cbor" - # Feed ID, used to correlate a collection of statements about an artifact - FEED="my-product-id" + # Subject is a property used to correlate a collection of statements about an artifact + SUBJECT="my-product-id" ``` ## Create a Signing Key @@ -89,39 +89,49 @@ For the Quickstart, create a testing [COSE Key](https://cose-wg.github.io/cose-s openssl ecparam -name prime256v1 -genkey -out $SIGNING_KEY ``` -## Generating a Payload +## Generate a Payload -1. Create a simple json payload +Create any payload you wish to register on DataTrails. JSON based payloads are indexed for query capabilities. - ```bash - cat > payload.json <}} +The current version of the DataTrails SCITT API is limited to JSON payloads. +This will be relaxed in a future release +{{< /note >}} -1. Create a COSE Signed Statement for the `payload.json` file +```bash +cat > payload.json <}}