Use the PUT /protocolMetadata/signingSettings endpoint to update the certificate and algorithm for metadata signing.

Status codes

Code Reason
200 Metadata signing settings updated.
400 The request was improperly formatted or contained invalid fields.
422 Validation error(s) occurred.

MetadataSigningSettings - Metadata signing settings. If metadata is not signed, this model will be empty.

Property Type Description
signingKeyRef ResourceLink Reference to the key used for metadata signing. Refer to /keyPair/signing to get the list of available signing key pairs.
signatureAlgorithm string Signature algorithm. If this property is unset, the default signature algorithm for the key algorithm will be used. Supported signature algorithms are available through the /keyPairs/keyAlgorithms endpoint.

ResourceLink - A reference to a resource.

Property Type Description
id * string The ID of the resource.
location string A read-only URL that references the resource. If the resource is not currently URL-accessible, this property will be null.