Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Command line interface
  • Getting started with the CLI
    • Running commands
    • CLI configuration
    • Synchronous and asynchronous command execution modes
  • CLI releases
  • Troubleshooting
  1. Concepts
  2. CLI configuration

CLI configuration

Written by
Yandex Cloud
Updated at February 6, 2025

You can set the parameters in the profile to quickly switch the command execution context. Use global flags for a single run of a command with a specific parameter value.

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 flag 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 to use when executing the command. It is only used in the yc resource-manager folder list command or together with the folder-name parameter. In all other cases, this parameter is ignored.
--folder-id folder-id ID of the folder to use when executing the command. 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. 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 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 The OAuth token that is used for authentication in Yandex Cloud. When this profile parameter is set, the service-account-key parameter is reset to zero.

Was the article helpful?

Previous
Running commands
Next
Synchronous and asynchronous command execution modes
Yandex project
© 2025 Yandex.Cloud LLC