diff --git a/command/format.go b/command/format.go index 909534ee0..effdfd6de 100644 --- a/command/format.go +++ b/command/format.go @@ -52,7 +52,7 @@ func outputFormatTable(ui cli.Ui, s *api.Secret, whitespace bool) int { "lease_duration %s %d", config.Delim, s.LeaseDuration)) } else { input = append(input, fmt.Sprintf( - "ttl %s %d", config.Delim, s.LeaseDuration)) + "ttl_seconds %s %d", config.Delim, s.LeaseDuration)) } if s.LeaseID != "" { input = append(input, fmt.Sprintf(