https://pulumi.com logo
Title
p

polite-shoe-79877

03/24/2021, 9:48 PM
When is run following in pulumi
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";

msRestNodeAuth.loginWithServicePrincipalSecret(
    "clientId", 
     "clientSecret", 
     "tenentId",
)
I get
Invalid client secret is provided
but it's running running fine standalone with node, someone have similiar problem?
t

tall-librarian-49374

03/25/2021, 8:12 AM
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