Work with profiles¶
Profiles define authentication methods for users. Different profiles can be created and configured via the Idsec configure command.
You can specify which profile a command uses with the --profile-name flag or setting the IDSEC_PROFILE environment variable.
Profiles are stored as JSON files in the $HOME/.idsec/profiles folder.
Note
When there are multiple profiles configured but a profile is not specified in the command (via
--profile-name) or with the IDSEC_PROFILE environment variable, the default idsec 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/.idsec/profiles folder.