logical/framework: doc for defaultduration on secret

This commit is contained in:
Mitchell Hashimoto 2015-04-13 17:05:32 -07:00
parent 7629c35c96
commit 463a32ba56

View file

@ -22,6 +22,8 @@ type Secret struct {
// DefaultDuration and DefaultGracePeriod are the default values for
// the duration of the lease for this secret and its grace period. These
// can be manually overwritten with the result of Response().
//
// If these aren't set, Vault core will set a default lease period.
DefaultDuration time.Duration
DefaultGracePeriod time.Duration