From 6e5345306e59f960d2a3ac2fee1ae3bdf6d07c40 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 30 Mar 2015 12:22:34 -0700 Subject: [PATCH] api: update the SPEC --- api/SPEC.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/api/SPEC.md b/api/SPEC.md index 81d87d890..8ca0c27b3 100644 --- a/api/SPEC.md +++ b/api/SPEC.md @@ -259,7 +259,7 @@ are immediately invalidated. + Response 204 -## Login [/sys/login] +## Login [/sys/login/{mount}/{path}] ### Login [PUT] Authenticate with Vault, returning an access token to use for @@ -279,6 +279,12 @@ it is an authentication failure. The response can be treated like any normal Vault secret: renewed, revoked, etc. ++ Parameters + + mount (required, string) ... The mount point for the + credential backend. Example: "token" + + path (optional, string) ... The path within the backend + that is used for authentication, often just the root. + + Response 200 (application/json) {