Creates and attestation from a piece of content
Creates and attestation from a piece of content
This endpoint is used to create an attestation for a piece of content, such as a file or a blob. The provided content is stored in the configured storage backend
POST
Creates and attestation from a piece of content
Authorizations
Bearer token for authentication
Body
application/json
Request to create and store an attestation
Request to create and store an attestation
The name of the material in the attestation, in RFC 1123 label format (lowercase letters, numbers, and hyphens).
Pattern:
^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$The project name for project-scoped attestations. If omitted, Org Admin role will be required. RBAC will be applied otherwise.
Response
A successful response.
Response for the attestation creation request
Example:
{ "digest": "digest", "id": "id" }