Managing profiles
A profile is a saved and locally named configuration of DB connection parameters. With profiles, you can reuse data about DB location and authentication parameters, making a CLI call much shorter:
- Calling the
scheme lscommand without a profile:
1. ydb \
2. -e grpsc://some.host.in.some.domain:2136 \
3. -d /some_long_identifier1/some_long_identifier2/database_name \
4. --yc-token-file ~/secrets/token_database1 \
5. scheme ls
- Calling the same scheme ls command using a profile:
1. ydb --profile db1 scheme ls

Profile management commands
- Creating a profile
- Using a profile
- Getting a list of profiles and profile parameters
- Deleting a profile
- Activating a profile and using the activated profile
Where profiles are stored
Profiles are stored locally in a file named ~/ydb/config/config.yaml.
