Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.43 KB

neofs-cli_object_head.md

File metadata and controls

45 lines (34 loc) · 1.43 KB

neofs-cli object head

Get object header

Synopsis

Get object header

neofs-cli object head [flags]

Options

      --address string        Address of wallet account
      --bearer string         File with signed JSON or binary encoded bearer token
      --cid string            Container ID.
      --file string           File to write header to. Default: stdout.
  -g, --generate-key          Generate new private key
  -h, --help                  help for head
      --json                  Marshal output in JSON
      --main-only             Return only main fields
      --oid string            Object ID.
      --proto                 Marshal output in Protobuf
      --raw                   Set raw request option
  -r, --rpc-endpoint string   Remote node address (as 'multiaddr' or '<host>:<port>')
      --session string        Filepath to a JSON- or binary-encoded token of the object HEAD session
  -t, --timeout duration      Timeout for the operation (default 15s)
      --ttl uint32            TTL value in request meta header (default 2)
  -w, --wallet string         Path to the wallet
  -x, --xhdr strings          Request X-Headers in form of Key=Value

Options inherited from parent commands

  -c, --config string   Config file (default is $HOME/.config/neofs-cli/config.yaml)
  -v, --verbose         Verbose output

SEE ALSO