Keyturn docsHow-to guides

Reports, schedules and Excel live data

Keyturn ships report definitions you can run, store on a server with a schedule, and deliver. With Pro or Site, keyturnd also serves a read-only OData feed that Excel refreshes from.

  1. Make a read-only feed key. It reads only the reports it names, as you, and can never change anything. The secret goes to an owner-only file, not the screen.
    keyturn report feed key create --label "Finance dashboard" --report databases-by-size --secret-file finance.key
  2. Write the workbook. It holds no credentials.
    keyturn report excel databases-by-size --out acme-databases.xlsx
  3. Open it in Excel and press Refresh. Sign in to the feed with the key ID as the user name and the secret as the password. Power BI reads the same feed: https://<server>:8129/odata/v1/.
feed key create
A feed key, its secret written to an owner-only file.
report excel writes a workbook
The workbook and the key file (-rw-------).

Built-in feed lists: People, Groups, Servers, Databases, Certificates, Sessions, MailQueue, HealthResults, plus any table report you store. Manage keys with report feed key list | rotate | revoke; revoking stops every workbook that uses the key at once.

JobCommand
Shipped examplesreport example (daily-summary, certificates-expiring, databases-by-size, groups-by-members, mail-flow, people-without-mail, servers-inventory, signed-on-everywhere, expiry-watch)
A table to CSV or Excelreport table --definition servers-inventory --format csv --out servers.csv
Store with a schedulereport create, report list, report run daily-summary --deliver
Check a definitionreport check my-report.json, report schema
Security posturesecurity audit, dir lint, acl audit

If the server's certificate is self-signed, Keyturn warns you when it writes the workbook: each PC must trust it, or give keyturnd a certificate from your CA or Let's Encrypt.