From a8cadbf156fa75f0fd7a46d80de485c15647c58a Mon Sep 17 00:00:00 2001 From: Kui Xu Date: Mon, 18 Sep 2023 09:00:23 -0700 Subject: [PATCH] feat(all): use updated mtls config endpoint (#2164) query the new endpoint --- internal/s2a.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/s2a.go b/internal/s2a.go index c5b421f5544..c70f2419b49 100644 --- a/internal/s2a.go +++ b/internal/s2a.go @@ -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