You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
//Create a Config object setting the Authentication object
95
+
finalConfig config =Config.builder()
96
+
.connectorType(ConnectorType.CLOUD)
97
+
.baseUrl("https://api.venafi.eu")
98
+
.credentials(auth)
99
+
.build();
100
+
101
+
//Create the client with the Config object. The client will be authenticated
102
+
finalVCertClient client =newVCertClient(config);
103
+
```
104
+
86
105
Then use your client to request certificates:
87
106
- For Trust Protection Platform, the `zone` format is the DN of a policy with or without the "\VED\Policy\" prefix (e.g. "\VED\Policy\Certificates\VCert" or simply "Certificates\VCert")
88
-
- For Venafi Cloud, the `zone` format is the name of an OutagePREDICT Application and the API Alias of an Issuing Template assigned to it delimited by a single backslash character (e.g. "My Application\My CIT")
107
+
- For Venafi as a Service, the `zone` format is the name of an OutagePREDICT Application and the API Alias of an Issuing Template assigned to it delimited by a single backslash character (e.g. "My Application\My CIT")
@@ -285,11 +304,11 @@ practice which also met our design objective to keep the certificate request pro
285
304
VCert users. If you require the ability to specify the CA Template with the request you can use the
286
305
TPP REST APIs but please be advised this goes against Venafi recommendations.
287
306
288
-
## Prerequisites for using with Venafi Cloud
307
+
## Prerequisites for using with Venafi as a Service
289
308
290
-
1. The Venafi Cloud REST API is accessible at https://api.venafi.cloud from the system where VCert
309
+
1. The Venafi as a Service REST API is accessible at [https://api.venafi.cloud](https://api.venafi.cloud/vaas) or [https://api.venafi.eu](https://api.venafi.eu/vaas) (if you have an EU account) from the system where VCert
291
310
will be executed.
292
-
2. You have successfully registered for a Venafi Cloud account, have been granted at least the
311
+
2. You have successfully registered for a Venafi as a Service account, have been granted at least the
293
312
OutagePREDICT "Resource Owner" role, and know your API key.
294
313
3. A CA Account and Issuing Template exist and have been configured with:
295
314
1. Recommended Settings values for:
@@ -316,10 +335,10 @@ To run the acceptance tests the following environment variables must be set:
316
335
| TPPUSER | Only for TPP connector tests |
317
336
| TPPPASSWORD | Only for TPP connector tests |
318
337
| TPPZONE | Policy folder for TPP |
319
-
| CLOUDURL | Only for Venafi Cloud tests running against non-production environments (uncommon)|
320
-
| APIKEY | Obtained by logging into Venafi Cloud after registering |
321
-
| CLOUDZONE | Zone ID or ProjectName\ZoneName for Venafi Cloud|
322
-
| CLOUDZONE2 | Zone ID or ProjectName\ZoneName for Venafi Cloud for testing empty OU, O, L, ST, and C |
338
+
| CLOUDURL | Only for Venafi as a Service tests|
339
+
| APIKEY | Obtained by logging into Venafi as a Service after registering |
340
+
| CLOUDZONE | Zone ID or ProjectName\ZoneName for Venafi as a Service|
341
+
| CLOUDZONE2 | Zone ID or ProjectName\ZoneName for Venafi as a Service for testing empty OU, O, L, ST, and C |
0 commit comments