[Airflow RBAC] Add permissions to a role through CLI

711 views
Skip to first unread message

Vincent Brunereau

unread,
Oct 29, 2021, 12:11:42 PM10/29/21
to cloud-composer-discuss
Hello,

I would like to add permissions to an airflow RBAC role through the CLI. Howerver, the current command enable me to only create a role without setting permissions :

gcloud beta composer environments run airflow-matching --project projector-310213 --location europe-west1 roles -- create my-role

How could I add permissions to a role in airflow using the CLI and not the UI ?

Best regards,

VIncent

raphael auv

unread,
Nov 15, 2021, 7:25:39 AM11/15/21
to cloud-composer-discuss

Alberto Vicente

unread,
Nov 15, 2021, 7:57:40 AM11/15/21
to raphael auv, cloud-composer-discuss
Official GCP Compser Documentation - https://cloud.google.com/composer/docs/airflow-rbac

Regards
Albert


--
You received this message because you are subscribed to the Google Groups "cloud-composer-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-composer-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-composer-discuss/88c28b77-0e39-4c0e-a2a9-62d21cdda56cn%40googlegroups.com.


--

Alberto Vicente | Technical Director - Data & AI Studio


GLOBANT AR: +54 11 4109 1700 ext. 16054 | US: +1 877 215 5230 ext. 16054



twitterlinkedinaugmented coding

The information contained in this e-mail may be confidential. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution or copying of this communication, or any of its contents, is strictly prohibited. If you have received it by mistake please let us know by e-mail immediately and delete it from your system. Many thanks.

 

La información contenida en este mensaje puede ser confidencial. Ha sido enviada para el uso exclusivo del destinatario(s) previsto. Si el lector de este mensaje no fuera el destinatario previsto, por el presente queda Ud. notificado que cualquier lectura, uso, publicación, diseminación, distribución o copiado de esta comunicación o su contenido está estrictamente prohibido. En caso de que Ud. hubiera recibido este mensaje por error le agradeceremos notificarnos por e-mail inmediatamente y eliminarlo de su sistema. Muchas gracias.


Reply all
Reply to author
Forward
0 new messages