Skip to content

Commit efd5e94

Browse files
committed
fix: show revoke_auto_rotated_token on read config
1 parent d0d4bfa commit efd5e94

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

entry_config.go

+7-6
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ func (e EntryConfig) LogicalResponseData() map[string]any {
2626
}
2727

2828
return map[string]any{
29-
"base_url": e.BaseURL,
30-
"auto_rotate_token": e.AutoRotateToken,
31-
"auto_rotate_before": e.AutoRotateBefore.String(),
32-
"token_id": e.TokenId,
33-
"token_expires_at": tokenExpiresAt,
34-
"token_sha1_hash": fmt.Sprintf("%x", sha1.Sum([]byte(e.Token))),
29+
"base_url": e.BaseURL,
30+
"auto_rotate_token": e.AutoRotateToken,
31+
"auto_rotate_before": e.AutoRotateBefore.String(),
32+
"token_id": e.TokenId,
33+
"token_expires_at": tokenExpiresAt,
34+
"token_sha1_hash": fmt.Sprintf("%x", sha1.Sum([]byte(e.Token))),
35+
"revoke_auto_rotated_token": e.RevokeAutoRotatedToken,
3536
}
3637
}
3738

0 commit comments

Comments
 (0)