When is run following in pulumi ```import * as msR...
# azure
p
When is run following in pulumi
Copy code
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";

msRestNodeAuth.loginWithServicePrincipalSecret(
    "clientId", 
     "clientSecret", 
     "tenentId",
)
I get
Copy code
Invalid client secret is provided
but it's running running fine standalone with node, someone have similiar problem?
t
Not a direct answer to your question, but if you are on Azure-Native, you can also authenticate the SDK with the same token as the provider uses: https://github.com/pulumi/pulumi-azure-native/issues/610#issuecomment-767600198