What happened:
We turned on DEBUG logs for debugging and found the the password used by the CSI driver gets logged in full.
2024-10-24T15:10:04.861Z DEBUG config/config.go:422 vc server my.server config: &{User:myuser Password:mypwd VCenterPort:443 InsecureFlag:true Datacenters:REF TargetvSANFileShareDatastoreURLs: TargetvSANFileShareClusters: MigrationDataStoreURL:}{"TraceId": "ea031f5d-8bf6-47ba-b939-698b31aae0cc"}What you expected to happen:
Passwords get redacted in log output
How to reproduce it (as minimally and precisely as possible):
/kind bug
What happened: We turned on DEBUG logs for debugging and found the the password used by the CSI driver gets logged in full.
2024-10-24T15:10:04.861Z DEBUG config/config.go:422 vc server my.server config: &{User:myuser Password:mypwd VCenterPort:443 InsecureFlag:true Datacenters:REF TargetvSANFileShareDatastoreURLs: TargetvSANFileShareClusters: MigrationDataStoreURL:}{"TraceId": "ea031f5d-8bf6-47ba-b939-698b31aae0cc"}
What you expected to happen: Passwords get redacted in log outputHow to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment: