Redshift Datashare: Grant CREATE DATASHARE permissions to users

0

Hi,

Is it possible to grant users permission to create a datashare?

Running command GRANT CREATE DATASHARE TO user;

errors out with:

Grant/Revoke system privilege on User is not supported.

I see that its possible to grant it on a role level, but I'm hoping it's possible to provision it on a user level.

Thanks!

질문됨 2년 전2672회 조회
1개 답변
1
수락된 답변

Hello,

Thank you for reaching out to AWS. Kindly find the details you are looking for :-

ALTER and SHARE are the only privileges that you can grant to users and user groups.

The following is the syntax for using GRANT for datashare privileges on Amazon Redshift. ALTER and SHARE are the only privileges that you can grant to users and user groups in this case.

GRANT { ALTER | SHARE } ON DATASHARE datashare_name
TO { username [ WITH GRANT OPTION ] | ROLE role_name | GROUP group_name | PUBLIC } [, ...]

https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT.html

I Hope this is helpful.

Thank you !

AWS
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠