Add an explicit default for TTLs for rabbit creds

This commit is contained in:
Jeff Mitchell
2016-06-08 11:35:09 -04:00
parent e16a46bca2
commit 9ceeb685e9

View File

@@ -14,10 +14,12 @@ func pathConfigLease(b *backend) *framework.Path {
Fields: map[string]*framework.FieldSchema{
"ttl": &framework.FieldSchema{
Type: framework.TypeDurationSecond,
Default: 0,
Description: "Duration before which the issued credentials needs renewal",
},
"max_ttl": &framework.FieldSchema{
Type: framework.TypeDurationSecond,
Default: 0,
Description: `Duration after which the issued credentials should not be allowed to be renewed`,
},
},