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
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Command line interface
  • Getting started with the CLI
    • All guides
    • CLI installation
    • CLI update
      • 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 January 28, 2025
  • 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:

    token: y0_AgAAA...Njwvs7N4
    cloud-id: b1gj9ja2h4ct********
    folder-id: b1g5bhjofg7o********
    organization-id: bpfaidqca8vd********
    

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:

    token: y0_AgAAA...Njwvs7N4
    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:

token: y0_AgAAA...Kjwgs7h3
cloud-id: b15jlj22h4ct********
folder-id: b1grb2jo7g7o********

Was the article helpful?

Previous
Creating a profile
Next
Getting profile information
© 2025 Direct Cursus Technology L.L.C.