Skip to content

Commit

Permalink
docs: add note that sign-quote endpoint isn't enabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasten committed Aug 27, 2024
1 parent 1b7e4f4 commit 5552690
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion coordinator/server/v2/v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (s *ClientAPIServer) StatusGet(w http.ResponseWriter, r *http.Request) {
func (s *ClientAPIServer) SignQuotePost(w http.ResponseWriter, r *http.Request) {
// Check if the current manifest allows signing quotes
if !s.api.FeatureEnabled(r.Context(), manifest.FeatureSignQuoteEndpoint) {
handler.WriteJSONError(w, "sign-quote endpoint is not enabled", http.StatusForbidden)
handler.WriteJSONError(w, "SignQuoteEndpoint feature is not enabled in the manifest", http.StatusForbidden)
return
}

Expand Down
7 changes: 7 additions & 0 deletions docs/docs/reference/coordinator.md
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,13 @@ Only `key`, or `cert` and `public` may be set for a given secret.

## Verify and sign an SGX quote

:::note

This endpoint is disabled by default.
You can [enable it in the manifest](../workflows/define-manifest.md#config).

:::

<Tabs groupId="apiVersion">
<TabItem value="v2" label="v2">

Expand Down
7 changes: 7 additions & 0 deletions docs/versioned_docs/version-1.5/reference/coordinator.md
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,13 @@ Only `key`, or `cert` and `public` may be set for a given secret.

## Verify and sign an SGX quote

:::note

This endpoint is disabled by default.
You can [enable it in the manifest](../workflows/define-manifest.md#config).

:::

<Tabs groupId="apiVersion">
<TabItem value="v2" label="v2">

Expand Down

0 comments on commit 5552690

Please sign in to comment.