Create a namespace in Apache Polaris and grant privileges on it

domain: polaris.apache.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate and obtain a token scoped to the target catalog
  2. Create a namespace by sending POST /api/catalog/v1/{prefix}/namespaces with a body containing the namespace array and optional properties
  3. Create a catalog role if one does not already exist via the management API
  4. Grant a namespace-scoped privilege (such as TABLE_READ_DATA or NAMESPACE_FULL_METADATA) to the catalog role via POST /api/management/v1/catalogs/{catalogName}/catalog-roles/{roleName}/grants, specifying the namespace in the grant body
  5. Grant the catalog role to a principal role so that principals in that role inherit the privilege

Known gotchas

Related routes

Create a catalog in Apache Polaris via the management REST API
polaris.apache.org · 5 steps · unrated
Create a Pulsar namespace with retention and backlog quota policies
pulsar.apache.org · 5 steps · unrated
Configure RBAC in Apache Polaris using principals, principal roles, and catalog roles
polaris.apache.org · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans