mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
Add token accessor to wrap information if one exists
This commit is contained in:
@@ -44,6 +44,10 @@ func PrintRawField(ui cli.Ui, secret *api.Secret, field string) int {
|
||||
if secret.WrapInfo != nil {
|
||||
val = secret.WrapInfo.CreationTime.String()
|
||||
}
|
||||
case "wrapped_accessor":
|
||||
if secret.WrapInfo != nil {
|
||||
val = secret.WrapInfo.WrappedAccessor
|
||||
}
|
||||
case "refresh_interval":
|
||||
val = secret.LeaseDuration
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user