Work with profiles¶
Profiles define authentication methods for users. The SDK uses profiles to load authentication configuration for service interactions.
You can specify which profile the SDK uses by 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 via 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 | |
You can create, modify, and delete profiles directly in the $HOME/.idsec/profiles folder. For CLI-based profile configuration, see the Idsec CLI documentation.