diff --git a/src/main/java/de/stklcode/jvault/connector/VaultConnector.java b/src/main/java/de/stklcode/jvault/connector/VaultConnector.java index a268afd..0dada1a 100644 --- a/src/main/java/de/stklcode/jvault/connector/VaultConnector.java +++ b/src/main/java/de/stklcode/jvault/connector/VaultConnector.java @@ -535,6 +535,8 @@ public interface VaultConnector extends AutoCloseable, Serializable { * Prefix "secret/metadata" is automatically added to key. Only available for KV v2 secrets. * * @param key Secret identifier + * @param maxVersions Maximum number of versions (fallback to backend default if {@code null}) + * @param casRequired Specify if Check-And-Set is required for this secret. * @throws VaultConnectorException on error * @since 0.8 */ diff --git a/src/main/java/de/stklcode/jvault/connector/internal/RequestHelper.java b/src/main/java/de/stklcode/jvault/connector/internal/RequestHelper.java index 5f58a11..560355f 100644 --- a/src/main/java/de/stklcode/jvault/connector/internal/RequestHelper.java +++ b/src/main/java/de/stklcode/jvault/connector/internal/RequestHelper.java @@ -103,6 +103,7 @@ public final class RequestHelper implements Serializable { * @param payload Map of payload values (will be converted to JSON). * @param token Vault token (may be {@code null}). * @param target Target class. + * @param Target type. * @return HTTP response * @throws VaultConnectorException on connection error * @since 0.8 @@ -120,8 +121,9 @@ public final class RequestHelper implements Serializable { /** * Execute HTTP request using POST method and expect empty (204) response. * - * @param path URL path (relative to base). - * @param token Vault token (may be {@code null}). + * @param path URL path (relative to base). + * @param payload Map of payload values (will be converted to JSON). + * @param token Vault token (may be {@code null}). * @throws VaultConnectorException on connection error * @since 0.8 */ @@ -171,6 +173,7 @@ public final class RequestHelper implements Serializable { * @param payload Map of payload values (will be converted to JSON). * @param token Vault token (may be {@code null}). * @param target Target class. + * @param Target type. * @return HTTP response * @throws VaultConnectorException on connection error * @since 0.8 @@ -276,6 +279,7 @@ public final class RequestHelper implements Serializable { * @param payload Map of payload values (will be converted to JSON). * @param token Vault token (may be {@code null}). * @param target Target class. + * @param Target type. * @return HTTP response * @throws VaultConnectorException on connection error * @since 0.8