Authentication & Access (Fence)¶
The data-client uses the Fence service to manage authentication and user access privileges.
Authentication Setup¶
Authentication is handled via the configure command using an API Key credential file. See Configuration for details.
When you run a command, the data-client:
1. Validates your API Key.
2. Requests a temporary Access Token from Fence.
3. Uses this Access Token for subsequent API calls.
If your Access Token has expired, the client automatically refreshes it using your API Key.
Checking Privileges¶
You can verify your current access privileges and see which projects/resources you have access to using the auth command.
Command¶
Example Usage¶
Output¶
The command lists the resources (projects) you can access and the specific permissions you have for each (e.g., read, write, delete).