Skip to content

Commit

Permalink
fix: change credentials types
Browse files Browse the repository at this point in the history
  • Loading branch information
artaasadi committed Nov 9, 2024
1 parent f76ece0 commit f26bdda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/describer_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit f26bdda

Please sign in to comment.