Manage Secrets in Group: <%= group.name %> (ID: <%= group.id %>)
<% if (message && message.text) { %>
<%= message.text %>
<% } %>
<%# Placeholder for "Add New Secret to This Group" form - Step 5c %>
Add New Secret to Group "<%= group.name %>"
<% if (typeof editingSecretKey !== 'undefined' && editingSecretKey && typeof secretToEdit !== 'undefined') { %>
Edit Secret Value: <%= editingSecretKey %> in Group <%= group.name %>
<% } %>
Secrets in this Group
<% if (secretsInGroup && secretsInGroup.length > 0) { %>
| Key |
Value (Preview) |
Actions |
<% secretsInGroup.forEach(secret => { %>
| <%= secret.key %> |
<%
let preview = typeof secret.value === 'string' ? secret.value : JSON.stringify(secret.value);
if (preview.length > 50) preview = preview.substring(0, 50) + '...';
%>
<%= preview %>
|
Edit Value
|
<% }); %>
<% } else { %>
No secrets currently in this group. You can add one above.
<% } %>