linode-cli icon indicating copy to clipboard operation
linode-cli copied to clipboard

[Bug]: object-storage keys-create not displaying keys on small terminals

Open isimluk opened this issue 2 months ago • 1 comments

CLI Version

linode-cli v5.63.0 Built from spec version 4.212.0

Reproducer:

  1. Make your terminal window a bit smaller than usual
  2. run $ linode-cli object-storage keys-create .......
  3. observe that the newly created keys were shortened to fit window and thus lost
┌──────────────────┬────────┬──────────────────┬─────────┬───────────────────┐
│ access_key       │ id     │ label            │ limited │ secret_key        │
├──────────────────┼────────┼──────────────────┼─────────┼───────────────────┤
│ AAAREDACTEDAAAA… │ 123456 │ abc12-something… │ True    │ sssREDACTEDyyyyy… │
└──────────────────┴────────┴──────────────────┴─────────┴───────────────────

Expected Behavior

table should not be adjusted to the terminal size

Actual Behavior

table is adjusted to the view and not to the data that needs to be displayed

isimluk avatar Oct 30 '25 15:10 isimluk

Thanks for calling this out, in the meantime you could try adding --text or --json to your command to get the output in full. We'll create a ticket for this exception in our output for later.

https://github.com/linode/linode-cli/wiki/Output#machine-readable-output

jriddle-linode avatar Oct 30 '25 15:10 jriddle-linode