Commit graph

7 commits

Author SHA1 Message Date
777aad5483
Log API errors in server log
and hide error details from client in order not to expose secrets

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-14 15:20:14 +02:00
ea631beeef
Replace redis client, move expiry into creation interface
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-10 01:42:46 +02:00
Vic Demuzere
5d4cf17aba
Switch to structs instead of maps in api (#40) 2021-09-07 12:45:27 +02:00
Vic Demuzere
d0f342e28a
Change Cache-Control on responses to no-store (#37) 2021-08-09 17:37:48 +02:00
b51293fe3d
Handle json requests to create API
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-05-10 23:00:08 +02:00
bcef1a1cce
Return 404 on not existent secret
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-03 18:20:21 +02:00
9c81f9223f
Initial API
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-03 14:13:53 +02:00