Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Command line interface
  • Getting started
    • All guides
    • Installation
    • Updates
    • Deletion
    • Working with command versions
      • Creation
      • Property management
      • Getting information
      • Activation
      • Deletion
  • Releases
  • Troubleshooting

In this article:

  • Add or change a profile parameter
  • Delete a profile parameter
  • Run a command with parameters from another profile
  1. Step-by-step guides
  2. Profile management
  3. Property management

Managing Yandex Cloud CLI profile parameters

Written by
Yandex Cloud
Updated at August 19, 2026
View as Markdown
  • Add or change a profile parameter
  • Delete a profile parameter
  • Run a command with parameters from another profile

You can manage your profile parameters in the following ways:

  • Add or change a profile parameter.
  • Delete a profile parameter.
  • Run a command with parameters from another profile.

Add or change a profile parameterAdd or change a profile parameter

To add or change a profile parameter, use the command:

yc config set <parameter_name> <parameter_value>

For example, change the default folder:

  1. Get information about the current profile parameters.

  2. Change the default folder (the folder-id parameter):

    yc config set folder-id b1g5bhjofg7o********
    
  3. Link an organization to a profile:

    yc config set organization-id bpfaidqca8vd********
    
  4. Make sure the parameters have actually changed:

    yc config list
    

    Result:

    subject-id: ajea53egl28l********
    cloud-id: b1gj9ja2h4ct********
    folder-id: b1g5bhjofg7o********
    organization-id: bpfaidqca8vd********
    

Note

In the CLI, you have access to the default folder resources. If you often use resources residing in a particular folder, make it your default folder so you do not have to specify --folder-id or --folder-name each time. When using the resource ID, there is no need to specify the folder.

View the full list of profile parameters. You can also change your profile parameters using the profile wizard.

Delete a profile parameterDelete a profile parameter

To delete a profile parameter, use the command:

yc config unset <parameter_name>

For example, unlink the default organization from a profile:

  1. Get information about the current profile parameters.

  2. Unlink the default organization (the organization-id parameter):

    yc config unset organization-id
    
  3. Make sure the parameter has been actually deleted:

    yc config list
    

    Result:

    subject-id: ajea53egl28l********
    cloud-id: b1gj9ja2h4ct********
    folder-id: b1g5bhjofg7o********
    

Run a command with parameters from another profileRun a command with parameters from another profile

To run the command with the parameters of a different profile, add the --profile <profile_name> parameter to the command.

For example, view the test profile parameters without activating it:

yc config list --profile test

Result:

subject-id: ajea53egl28l********
cloud-id: b15jlj22h4ct********
folder-id: b1grb2jo7g7o********

Was the article helpful?

Previous
Creation
Next
Getting information
© 2026 Direct Cursus Technology L.L.C.