You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: support fine-grained permissions database roles in connect (#1338)
* feat: support fine-grained permissions database roles in connect
Add an optional `database_role` argument to `connect` for supplying
the database role to connect as when using
[fine-grained access controls](https://cloud.google.com/spanner/docs/access-with-fgac)
* feat: support fine-grained permissions database roles in connect
Add an optional `database_role` argument to `connect` for supplying
the database role to connect as when using
[fine-grained access controls](https://cloud.google.com/spanner/docs/access-with-fgac)
* add missing newline to code block
---------
Co-authored-by: Knut Olav Løite <[email protected]>
Copy file name to clipboardExpand all lines: README.rst
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -252,6 +252,13 @@ Connection API represents a wrap-around for Python Spanner API, written in accor
252
252
result = cursor.fetchall()
253
253
254
254
255
+
If using [fine-grained access controls](https://cloud.google.com/spanner/docs/access-with-fgac) you can pass a ``database_role`` argument to connect as that role:
0 commit comments