- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CreateTokenPlugin (0.25 sec)
-
security/pkg/nodeagent/caclient/providers/citadel/client_test.go
server := mockCAServer{Certs: fakeCert, Err: nil, Authenticator: security.NewFakeAuthenticator("ca")} addr := serve(t, server, tlsOptions(t)) opts := &security.Options{ CAEndpoint: addr, CredFetcher: plugin.CreateTokenPlugin("testdata/token"), ProvCert: certDir, } rootCert := path.Join(certDir, constants.RootCertFilename) key := path.Join(certDir, constants.KeyFilename)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 24 21:03:23 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/istio-agent/agent_test.go
a.Security.CertChainFilePath = cfg.CertificatePath a.Security.KeyFilePath = cfg.PrivateKeyPath a.Security.RootCertFilePath = cfg.CaCertificatePath a.Security.CredFetcher = plugin.CreateTokenPlugin(filepath.Join(env.IstioSrc, "pkg/istio-agent/testdata/token")) a.ProxyConfig.ProxyMetadata = map[string]string{} a.ProxyConfig.ProxyMetadata[MetadataClientCertChain] = filepath.Join(dir, "cert-chain.pem")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 33.4K bytes - Viewed (0)