Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Command line interface
  • Getting started with the CLI
    • All guides
    • CLI installation
    • CLI update
    • Uninstalling the CLI
      • Creating a profile
      • Managing profile parameters
      • Getting profile information
      • Activating a profile
      • Deleting a profile
  • CLI 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. Managing profile parameters

Managing profile parameters

Written by
Yandex Cloud
Updated at May 5, 2026
  • 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
Creating a profile
Next
Getting profile information
© 2026 Direct Cursus Technology L.L.C.