Skip to content

Commit

Permalink
feat(all): use updated mtls config endpoint (#2164)
Browse files Browse the repository at this point in the history
query the new endpoint
  • Loading branch information
xmenxk committed Sep 18, 2023
1 parent 0c5c2d2 commit a8cadbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/s2a.go
Expand Up @@ -13,7 +13,7 @@ import (
"cloud.google.com/go/compute/metadata"
)

const configEndpointSuffix = "googleAutoMtlsConfiguration"
const configEndpointSuffix = "instance/platform-security/auto-mtls-configuration"

// The period an MTLS config can be reused before needing refresh.
var configExpiry = time.Hour
Expand Down

0 comments on commit a8cadbf

Please sign in to comment.