v1

latestSwagger 2.02026-07-1792120.1 KB
update

Update a specific package set in the manifest.

This API endpoint only works if Users are defined in the Manifest. For more information, have a look at updating a Manifest.

Example for updating the manifest with curl:

curl --cacert marblerun.crt --cert user_certificate.crt --key user_private.key -w "%{http_code}" --data-binary @update_manifest.json https://$MARBLERUN/update
post/update

Request body

Infrastructuresobject

Infrastructures contains the allowed infrastructure providers and their properties.

Marblesobject

Marbles contains the allowed services with their corresponding enclave and configuration parameters.

Packagesobject

Packages contains the allowed enclaves and their properties.

RecoveryKeysobject

RecoveryKeys holds one or multiple RSA public keys to encrypt multiple secrets, which can be used to decrypt the sealed state again in case the encryption key on disk was corrupted somehow.

Rolesobject

Roles contains role definitions to manage permissions across the MarbleRun mesh

Secretsobject

Secrets holds user-specified secrets, which should be generated and later on stored in a marble (if not shared) or in the core (if shared).

TLSobject

TLS contains tags which can be assiged to Marbles to specify which connections should be elevated to TLS

Usersobject

Users contains user definitions, including certificates used for authentication and permissions.

Response

Dataobject
Statusstring

Example response

{
  "Status": "success"
}