Skip to content

Commit

Permalink
ClientID for managed_identity can be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
sriniketh923 committed Jun 15, 2024
1 parent f492af4 commit 71892cc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions receiver/azuremonitorreceiver/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,6 @@ func (c Config) Validate() (err error) {
}

case managedIdentity:
if c.ClientID == "" {
err = multierr.Append(err, errMissingClientID)
}
case defaultCredentials:
default:
return fmt.Errorf("authentication %v is not supported. supported authentications include [%v,%v,%v,%v]", c.Authentication, servicePrincipal, workloadIdentity, managedIdentity, defaultCredentials)
Expand Down

0 comments on commit 71892cc

Please sign in to comment.