Skip to main content

Creating Binaries

This guide describes how to create binaries.

To learn more about Peridio binaries in general, see the binaries reference.

Prerequisites

Create Binary

CLI

Create, Upload, and Sign

To create, upload, and sign a binary all at once:

peridio binaries create \
--artifact-version-prn $PERIDIO_ARTIFACT_VERSION_PRN \
--content-path $PERIDIO_CONTENT_PATH \
--signing-key-pair $PERIDIO_SIGNING_KEY_PAIR \
--target $PERIDIO_TARGET

Create

If you wish to only create the binary record (and not upload nor sign content):

peridio binaries create \
--artifact-version-prn $PERIDIO_ARTIFACT_VERSION_PRN \
--content-path $PERIDIO_CONTENT_PATH \
--target $PERIDIO_TARGET \
--skip-upload

At this point you could still run the first command to automatically upload and sign the binary.

Alternatively you could manually perform a multipart upload with binary parts and then manually attach a signature by creating a binary signature.

API

Use the Peridio Admin API create-a-binary endpoint.

Web Console

See the Peridio Web Console.