diff options
Diffstat (limited to 'hosted-api')
-rw-r--r-- | hosted-api/src/main/java/ai/vespa/hosted/api/Properties.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hosted-api/src/main/java/ai/vespa/hosted/api/Properties.java b/hosted-api/src/main/java/ai/vespa/hosted/api/Properties.java index c0fe2074809..39d56408fb8 100644 --- a/hosted-api/src/main/java/ai/vespa/hosted/api/Properties.java +++ b/hosted-api/src/main/java/ai/vespa/hosted/api/Properties.java @@ -42,18 +42,18 @@ public class Properties { } /** Returns the path of the API private key. This must be set with the 'privateKeyFile' property. */ - public static Path apiPrivateKeyFile() { - return Paths.get(requireNonBlankProperty("privateKeyFile")); + public static Path apiKeyFile() { + return Paths.get(requireNonBlankProperty("apiKeyFile")); } /** Returns the path of the API certificate, if this is set with the 'certificateFile' property. */ public static Optional<Path> apiCertificateFile() { - return getNonBlankProperty("certificateFile").map(Paths::get); + return getNonBlankProperty("apiCertificateFile").map(Paths::get); } /** Returns the actual private key as a string */ - public static Optional<String> privateKey() { - return getNonBlankProperty("privateKey"); + public static Optional<String> apiKey() { + return getNonBlankProperty("apiKey"); } /** Returns the path of the data plane certificate file, if this is set with the 'dataPlaneCertificateFile' property. */ |