Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/src/main/asciidoc/sql.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,13 @@ You will need to do the following to enable it:
However, it doesn't compromise the security of the communication because the connection is always encrypted.
. Set `spring.datasource.username` to the IAM user or service account created in step 2. Note that IAM user or service account still needs to be https://www.postgresql.org/docs/current/sql-grant.html[granted permissions] before modifying or querying the database.

[NOTE]
====
If you are using a Service Account, you must omit the `.gserviceaccount.com` suffix from the username.
This is due to the name length limit for PostgreSQL usernames.
For example, use `my-sa@my-project.iam` instead of `my-sa@my-project.iam.gserviceaccount.com`.
====

=== Cloud SQL Configuration Properties

|===
Expand Down
Loading