You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by "chetan-habu (via GitHub)" <gi...@apache.org> on 2024/08/23 00:31:23 UTC
[I] [FEATURE REQUEST]Service Connection Per namespace in a catalog [polaris]
chetan-habu opened a new issue, #194:
URL: https://github.com/apache/polaris/issues/194
### Is your feature request related to a problem? Please describe.
Restrict access to tables in a namespace to a service connection
### Describe the solution you'd like
I want to create one catalog and multiple child namespaces under a parent namespace. Each namespace will have their own service connection and individual service connection can only talk to catalog data in the namespace.
### Describe alternatives you've considered
I would have to create a catalog ,namespace and service connection inorder to provide limited access to a single service connection
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@polaris.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [FEATURE REQUEST]Service Connection Per namespace in a catalog [polaris]
Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain commented on issue #194:
URL: https://github.com/apache/polaris/issues/194#issuecomment-2310656731
I don't think there will be limitations on these numbers. cc @dennishuo @collado-mike @eric-maynard for more details.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [FEATURE REQUEST]Service Connection Per namespace in a catalog [polaris]
Posted by "chetan-habu (via GitHub)" <gi...@apache.org>.
chetan-habu commented on issue #194:
URL: https://github.com/apache/polaris/issues/194#issuecomment-2315635115
Thanks team. Can you help provide some more insights to the following questions if any.
- limits to the number of catalogs we can create in a polaris instance
- Number of namespaces/sub namespaces a catalog can have
- catalog roles per namespace
- service principals.
We plan to create a catalog and then namespaces are our logical grouping . Each namespace would be associated with a catalog role which allows access to the namespace tables only. the catalog role will have an associated service principal. We would leverage the apis from the documentation to create the whole piece and hence the ask on the limits .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [FEATURE REQUEST]Service Connection Per namespace in a catalog [polaris]
Posted by "eric-maynard (via GitHub)" <gi...@apache.org>.
eric-maynard commented on issue #194:
URL: https://github.com/apache/polaris/issues/194#issuecomment-2311249684
Hey @chetan-habu, if you have questions about a vendor-managed offering please reach out to that vendor. With Apache Polaris, you can view the root credentials during bootstrapping.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [FEATURE REQUEST]Service Connection Per namespace in a catalog [polaris]
Posted by "collado-mike (via GitHub)" <gi...@apache.org>.
collado-mike commented on issue #194:
URL: https://github.com/apache/polaris/issues/194#issuecomment-2313825917
Snowflake's Polaris doesn't yet let you do this, but the functionality exists in the OSS project. Unsure when the feature will be released in the managed Polaris offering.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [FEATURE REQUEST]Service Connection Per namespace in a catalog [polaris]
Posted by "sfc-gh-ygu (via GitHub)" <gi...@apache.org>.
sfc-gh-ygu commented on issue #194:
URL: https://github.com/apache/polaris/issues/194#issuecomment-2307956608
I'm not sure I understand completely, but you can create the `catalog roles` with specific privileges on a single namespace. The concept `catalog role` can be a group of privileges on namespace/table/view/catalog. Here is the RBAC example for reference, https://polaris.io/#tag/Access-Control/RBAC-example

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [FEATURE REQUEST]Service Connection Per namespace in a catalog [polaris]
Posted by "chetan-habu (via GitHub)" <gi...@apache.org>.
chetan-habu commented on issue #194:
URL: https://github.com/apache/polaris/issues/194#issuecomment-2311222925
@flyrain I was able to use your suggestion and create catalog role per namespace and then map it later to a principal role and service principal. I am using Snowflake managed polaris to create all the desired configurations. Do you have any idea how I could get the service admin credentials. I want to use APIs to create catalog ,namespace and other polaris related configurations but the only way I am able to do that is get the token from the network tab and use that to invoke APIs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [FEATURE REQUEST]Service Connection Per namespace in a catalog [polaris]
Posted by "chetan-habu (via GitHub)" <gi...@apache.org>.
chetan-habu commented on issue #194:
URL: https://github.com/apache/polaris/issues/194#issuecomment-2310303591
Thanks . Creating catalog roles per namespace should help take care of our usecases. Are there any limitations to the number of principal roles, catalog roles and catalog per polaris instance
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org