diff --git a/provider/describer_wrapper.go b/provider/describer_wrapper.go index d1af4811..ae68e9f6 100755 --- a/provider/describer_wrapper.go +++ b/provider/describer_wrapper.go @@ -13,7 +13,7 @@ import ( func DescribeBySubscription(describe func(context.Context, *azidentity.ClientSecretCredential, string, *model.StreamSender) ([]model.Resource, error)) model.ResourceDescriber { return func(ctx context.Context, cfg configs.IntegrationCredentials, triggerType enums.DescribeTriggerType, additionalData map[string]string, stream *model.StreamSender) ([]model.Resource, error) { ctx = describer.WithTriggerType(ctx, triggerType) - cred, err := azidentity.NewClientSecretCredential(cfg.TenantID, cfg.ClientID, cfg.ClientSecret, nil) + cred, err := azidentity.NewClientSecretCredential(cfg.TenantID, cfg.ClientID, cfg.ClientPassword, nil) if err != nil { return nil, err }