Work with profiles¶
Profiles define authentication methods for users. They are used with the CLI and, to a lesser extent, the SDK. Different profiles can be created and configured via the Ark configure
command.
You can specify which profile a command uses with the --profile-name
flag or setting the ARK_PROFILE
environment variable.
Profiles are stored as JSON files in the $HOME/.ark_profiles
folder.
Note
When there are multiple profiles configured but a profile is not specified in the command (via
--profile-name
) or with the ARK_PROFILE
environment variable, the default ark
profile is used.
Here is an example profile file:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
As well as using the CLI to manage profiles, you can create, modify, and delete profiles directly in the $HOME/.ark_profiles
folder.