> For the complete documentation index, see [llms.txt](https://docs.cyberway.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cyberway.io/software_manuals/command_reference/sign.md).

# Sign

## Description

The subcommand can be used to sign a transaction.

## Positional Parameters

* `(string) transaction`— The JSON string or filename defining the transaction to sign (required).

## Options

* `-k`, `--private-key` *TEXT* — The private key that will be used to sign the transaction.
* `-c`, `--chain-id` *TEXT* — The chain id that will be used to sign the transaction.
* `-p`, `--push-transaction` — Push transaction after signing.

## Command

```bash
$ cleos sign [OPTIONS] <transaction>
```
