Skip to content
Snippets Groups Projects

HTTP endpoint to return key information

Merged Lyuben Penkovski requested to merge 6-get-key-endpoint into main
26 files
+ 584
139
Compare changes
  • Side-by-side
  • Inline
Files
26
+ 11
0
@@ -43,6 +43,17 @@ var _ = Service("signer", func() {
Response(StatusOK)
})
})
Method("GetKey", func() {
Description("GetKey returns key information from Vault or OCM.")
Payload(GetKeyRequest)
Result(Any)
HTTP(func() {
GET("/v1/keys/{key}")
Response(StatusOK)
})
})
})
var _ = Service("health", func() {
Loading