API
Acceldata Data Observability Cloud
Get Started
Assets
Asset Schema References
Data Reliability
Data Reliability Schema References
Pipelines
Authentication
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Implement Least Privilege
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Systematically reduce permissions to the minimum needed, improving security posture.
Least Privilege Implementation
Step 1: Document Current State
Bash
# Get all users and their permissionsGET /admin/api/users/list# For each user:GET /authz/api/v1/users/permissions?userId=XXXStep 2: Interview Teams
Questions:
- What do you actually do day-to-day?
- What access do you use regularly?
- What could you lose without impact?
- What access have you never used?
Step 3: Create Minimal Roles
Bash
# Instead of "admin" role, create specific roles:POST /authz/api/v1/roles{ "name": "pipeline-operator", "permissions": ["pipeline.view", "pipeline.execute"] // Not edit, not delete}Step 4: Migrate Users
Bash
x
# Remove broad rolesPUT /admin/api/remove-assigned-client-roles{ "userId": "user-123", "roles": ["admin"]}# Add specific rolesPUT /admin/api/assign-client-roles{ "userId": "user-123", "roles": ["pipeline-operator", "dashboard-viewer"]}Step 5: Monitor & Adjust
After 1 week, check if users need any access restored.
APIs Used
GET /authz/api/v1/users/permissions- Current permissionsPOST /authz/api/v1/roles- Create minimal rolesPUT /admin/api/remove-assigned-client-roles- Remove excessPUT /admin/api/assign-client-roles- Add minimal accessGET /authz/api/v1/users/:userId/roles- Verify changes
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Manage Role LifecycleFor additional help, contact www.acceldata.force.com OR call our service desk +1 844 9433282
Copyright © 2025
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message