The function must modify the content of the "creds" pointer, not the pointer. Found via hack/verify-staticcheck.sh after importing the code into Kubernetes. It is uncertain whether this bug had any consequences.