Tuesday, February 1, 2022

[google-cloud-sql-discuss] API problem SQLAdminService.Users.List

Hi,
I am trying to get information about the users of a specific SQL Database Instance by using the Google.Apis.SQLAdmin api.
You can check it here where the "Try this API" part of the list documentation page.

The return value is a List of User.
This class contain some properties that remain null, no matter what I change through the GCP console.
The properties are: Password, PasswordPolicy.
Is there a reason for that? Am I missing a request parameter that will fetch this data?
Tried MySQL 5.7 and MySQL 8.0
This is the place in console where I add\change the password:
152005458-04008aa3-cb7f-46dd-8a5a-b364c8677ee2.png

The thing that I am trying to check is if the user has a password that he set for himself (it is important for Cloud SQL where you don't have to set password but it is very recommended). I don't mind what the password is so if you have any other direction that might help it would be great.
Thank you.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/4a3e9b98-3972-41d8-8a54-bd9941a16e8an%40googlegroups.com.

No comments:

Post a Comment