Activating a profile

    Having multiple profiles let you quickly switch your command execution context.

    Use the profile name to access the profile. You can find the profile name by getting the profile list.

    1. Activate the profile with the test name:

      $ yc config profile activate test
      Profile 'test' activated
      
    2. Make sure that the profile is activated. It will have the ACTIVE label next to it:

      $ yc config profile list
      prod
      test ACTIVE