This is an automated email from the ASF dual-hosted git repository. lhotari pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push: new f873034fc1a Add description of option to specify Athenz ZTS proxy (#1013) f873034fc1a is described below commit f873034fc1a5d69fb6bf111e056c5ab4930f2821 Author: Masahiro Sakamoto <massa...@lycorp.co.jp> AuthorDate: Fri May 30 15:32:06 2025 +0900 Add description of option to specify Athenz ZTS proxy (#1013) --- docs/security-athenz.md | 4 ++++ versioned_docs/version-4.0.x/security-athenz.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/security-athenz.md b/docs/security-athenz.md index 7c7ff12743d..d6420700ac4 100644 --- a/docs/security-athenz.md +++ b/docs/security-athenz.md @@ -85,6 +85,7 @@ You can also set an optional `keyId`. The following is an example. ```java Map<String, String> authParams = new HashMap(); authParams.put("ztsUrl", "http://localhost:9998"); +// authParams.put("ztsProxyUrl", "http://localhost:9999"); // Proxy for accessing ZTS (optional, since v3.0.10/v4.0.3/v4.1.0) authParams.put("tenantDomain", "shopping"); // Tenant domain name authParams.put("tenantService", "some_app"); // Tenant service name authParams.put("providerDomain", "pulsar"); // Provider domain name @@ -162,6 +163,7 @@ const client = new Pulsar.Client({ ```go provider := pulsar.NewAuthenticationAthenz(map[string]string{ "ztsUrl": "http://localhost:9998", + // "ztsProxyUrl": "http://localhost:9999", // Proxy for accessing ZTS (optional, since v0.16.0) "providerDomain": "pulsar", "tenantDomain": "shopping", "tenantService": "some_app", @@ -200,6 +202,7 @@ In this case, `tenantDomain`, `tenantService` and `keyId` are ignored. ```java Map<String, String> authParams = new HashMap(); authParams.put("ztsUrl", "http://localhost:9998"); +// authParams.put("ztsProxyUrl", "http://localhost:9999"); // Proxy for accessing ZTS (optional, since v3.0.10/v4.0.3/v4.1.0) authParams.put("providerDomain", "pulsar"); // Provider domain name authParams.put("x509CertChain", "file:///path/to/x509cert.pem"); // Distributed X.509 certificate path authParams.put("privateKey", "file:///path/to/private.pem"); // Distributed private key path @@ -276,6 +279,7 @@ const client = new Pulsar.Client({ ```go provider := pulsar.NewAuthenticationAthenz(map[string]string{ "ztsUrl": "http://localhost:9998", + // "ztsProxyUrl": "http://localhost:9999", // Proxy for accessing ZTS (optional, since v0.16.0) "providerDomain": "pulsar", "x509CertChain": "file:///path/to/x509cert.pem", "privateKey": "file:///path/to/private.pem", diff --git a/versioned_docs/version-4.0.x/security-athenz.md b/versioned_docs/version-4.0.x/security-athenz.md index 7c7ff12743d..d6420700ac4 100644 --- a/versioned_docs/version-4.0.x/security-athenz.md +++ b/versioned_docs/version-4.0.x/security-athenz.md @@ -85,6 +85,7 @@ You can also set an optional `keyId`. The following is an example. ```java Map<String, String> authParams = new HashMap(); authParams.put("ztsUrl", "http://localhost:9998"); +// authParams.put("ztsProxyUrl", "http://localhost:9999"); // Proxy for accessing ZTS (optional, since v3.0.10/v4.0.3/v4.1.0) authParams.put("tenantDomain", "shopping"); // Tenant domain name authParams.put("tenantService", "some_app"); // Tenant service name authParams.put("providerDomain", "pulsar"); // Provider domain name @@ -162,6 +163,7 @@ const client = new Pulsar.Client({ ```go provider := pulsar.NewAuthenticationAthenz(map[string]string{ "ztsUrl": "http://localhost:9998", + // "ztsProxyUrl": "http://localhost:9999", // Proxy for accessing ZTS (optional, since v0.16.0) "providerDomain": "pulsar", "tenantDomain": "shopping", "tenantService": "some_app", @@ -200,6 +202,7 @@ In this case, `tenantDomain`, `tenantService` and `keyId` are ignored. ```java Map<String, String> authParams = new HashMap(); authParams.put("ztsUrl", "http://localhost:9998"); +// authParams.put("ztsProxyUrl", "http://localhost:9999"); // Proxy for accessing ZTS (optional, since v3.0.10/v4.0.3/v4.1.0) authParams.put("providerDomain", "pulsar"); // Provider domain name authParams.put("x509CertChain", "file:///path/to/x509cert.pem"); // Distributed X.509 certificate path authParams.put("privateKey", "file:///path/to/private.pem"); // Distributed private key path @@ -276,6 +279,7 @@ const client = new Pulsar.Client({ ```go provider := pulsar.NewAuthenticationAthenz(map[string]string{ "ztsUrl": "http://localhost:9998", + // "ztsProxyUrl": "http://localhost:9999", // Proxy for accessing ZTS (optional, since v0.16.0) "providerDomain": "pulsar", "x509CertChain": "file:///path/to/x509cert.pem", "privateKey": "file:///path/to/private.pem",