summaryrefslogtreecommitdiffstats
path: root/API.md
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-10-27 14:47:35 -0400
committerSimo Sorce <simo@redhat.com>2015-11-06 20:55:12 -0500
commit3b7eed15c3f9da7381d240a762b0e557dd18ce96 (patch)
treeb67710d589c55657f7757ab1b6bb489068b2ecae /API.md
parent2780854f1e206563b7451087984f729d0b748d35 (diff)
downloadcustodia-3b7eed15c3f9da7381d240a762b0e557dd18ce96.tar.gz
custodia-3b7eed15c3f9da7381d240a762b0e557dd18ce96.tar.xz
custodia-3b7eed15c3f9da7381d240a762b0e557dd18ce96.zip
Add support in the client for the kem message type
This allows to easily use end-to-end encrypted requests and replies to fetch secrets. Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'API.md')
-rw-r--r--API.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/API.md b/API.md
index ead0344..16d7eff 100644
--- a/API.md
+++ b/API.md
@@ -153,6 +153,7 @@ Returns:
- 401 if authentication is necessary
- 403 if access to the key is forbidden
- 404 if no key was found
+- 406 not acceptable, type unknown/not permitted
Listing containers
@@ -171,6 +172,7 @@ Returns:
- 401 if authentication is necessary
- 403 if access to the key is forbidden
- 404 if no key was found
+- 406 not acceptable, type unknown/not permitted
Creating containers
@@ -188,6 +190,7 @@ Returns:
- 401 if authentication is necessary
- 403 if access to the key is forbidden
- 404 one of the elements of the path is not a valid container
+- 406 not acceptable, type unknown/not permitted
- 409 if the container already exsts
@@ -202,4 +205,5 @@ Returns:
- 401 if authentication is necessary
- 403 if access to the container is forbidden
- 404 if no container was found
+- 406 not acceptable, type unknown/not permitted
- 409 if the container is not empty