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!

demandé il y a 2 ans2670 vues
1 réponse
1
Réponse acceptée

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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions