[TASK] Ensure trimmed .secret file contents