[Yandex Cloud documentation](../../index.md) > [Command line interface](../index.md) > [Concepts](index.md) > CLI configuration

# CLI configuration

You can [set the parameters](../operations/profile/manage-properties.md) in the profile to quickly switch the command execution context. Use global parameters for a single run of a command with a specific parameter value.

{% note warning %}

Note that some parameters cannot be used simultaneously. The value of one of the parameters is reset to zero after the other is set.

Global parameters are available to any command, but not all commands can process them. For example, if a resource is defined only by an ID, the cloud and folder parameters are ignored.

{% endnote %}

| Global parameter | Profile parameter | Description |
|----|----|----|
| `--debug` | — | Output the debug log when executing the command. |
| `--debug-grpc` | — | Output the gRPC debug log when executing the command. This is a very detailed log that is useful for debugging connection issues. |
| `--cloud-id` | `cloud-id` | [ID of the cloud](../../resource-manager/operations/cloud/get-id.md) to use when executing the command. It is only used in the [yc resource-manager folder list](../cli-ref/resource-manager/cli-ref/folder/list.md) command or together with the `folder-name` parameter. In all other cases, this parameter is ignored. |
| `--folder-id` | `folder-id` | [ID of the folder](../../resource-manager/operations/folder/get-id.md) to use when executing the command. This ID is used to access a resource by name in a folder different from the default folder. When accessing a resource by its ID, you do not need to specify the folder: the search is global based on access permissions. When this profile parameter is set, the `folder-name` parameter is reset to zero. |
| `--folder-name` | `folder-name` | Name of the folder to use when executing the command. This ID is used to access a resource by name in a folder different from the default folder. When accessing a resource by its ID, you do not need to specify the folder: the search is global based on access permissions. When this profile parameter is set, the `folder-id` parameter is reset to zero. |
| `--format` | `format` | Format for the output: `text` (default), `yaml`, `json`, `json-rest`. |
| `-h`, `--help` | — | Output the command help. |
| `--no-user-output` | — | Exclude the output intended for the user from the `stderr` error output stream. |
| `--profile` | — | The name of the profile whose parameters will be used when executing the command. |
| — | `service-account-key`| The authorized key of a [service account](../../iam/concepts/users/service-accounts.md) in Yandex Cloud. It is set from the file where the key is stored. When this profile parameter is set, the `token` parameter is reset to zero. |
| `--token` | `token` | Token that is used for authentication in Yandex Cloud. When this profile parameter is set, the `service-account-key` parameter is reset to zero. |