{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/vault/issues/688","labels_url":"https://api.github.com/repos/hashicorp/vault/issues/688/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/vault/issues/688/comments","events_url":"https://api.github.com/repos/hashicorp/vault/issues/688/events","html_url":"https://github.com/hashicorp/vault/issues/688","id":110725858,"number":688,"title":"Token Duration - Configuration","user":{"login":"narayan8291","id":10729032,"avatar_url":"https://avatars.githubusercontent.com/u/10729032?v=3","gravatar_id":"","url":"https://api.github.com/users/narayan8291","html_url":"https://github.com/narayan8291","followers_url":"https://api.github.com/users/narayan8291/followers","following_url":"https://api.github.com/users/narayan8291/following{/other_user}","gists_url":"https://api.github.com/users/narayan8291/gists{/gist_id}","starred_url":"https://api.github.com/users/narayan8291/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narayan8291/subscriptions","organizations_url":"https://api.github.com/users/narayan8291/orgs","repos_url":"https://api.github.com/users/narayan8291/repos","events_url":"https://api.github.com/users/narayan8291/events{/privacy}","received_events_url":"https://api.github.com/users/narayan8291/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-09T19:53:46Z","updated_at":"2015-10-09T20:01:18Z","closed_at":"2015-10-09T20:01:18Z","body":"I have mounted the secret backend and I used mount-tune to set the default lease period to be 1m and max lease period to be 3mins. When I create a token the duration is set to 2592000. Can the duration be configured and changed to the default or the max lease period of that backend ? \r\n\r\nIn general, can the lease period of token be configured ? "},"comment":{"url":"https://api.github.com/repos/hashicorp/vault/issues/comments/146973871","html_url":"https://github.com/hashicorp/vault/issues/688#issuecomment-146973871","issue_url":"https://api.github.com/repos/hashicorp/vault/issues/688","id":146973871,"user":{"login":"jefferai","id":28627,"avatar_url":"https://avatars.githubusercontent.com/u/28627?v=3","gravatar_id":"","url":"https://api.github.com/users/jefferai","html_url":"https://github.com/jefferai","followers_url":"https://api.github.com/users/jefferai/followers","following_url":"https://api.github.com/users/jefferai/following{/other_user}","gists_url":"https://api.github.com/users/jefferai/gists{/gist_id}","starred_url":"https://api.github.com/users/jefferai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jefferai/subscriptions","organizations_url":"https://api.github.com/users/jefferai/orgs","repos_url":"https://api.github.com/users/jefferai/repos","events_url":"https://api.github.com/users/jefferai/events{/privacy}","received_events_url":"https://api.github.com/users/jefferai/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T20:01:18Z","updated_at":"2015-10-09T20:01:18Z","body":"Tokens are issued by the `token` backend at `auth/token/`, not the `generic` backend at `secret/`. Try tuning `auth/token` and it should work!"}}