diff --git a/README.md b/README.md index 9a40ea7..ee48feb 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ Snowflake output plugin for Embulk loads records to Snowflake. - **host**: database host name (string, required) - **user**: database login user name (string, required) - **password**: database login password (string, default: "") -- **privateKey**: database login using key-pair authentication(string, default: ""). This authentication method requires a 2048-bit (minimum) RSA key pair. -- **privateKeyPassphrase**: passphrase for privateKey (string, default: "") +- **private_key**: database login using key-pair authentication(string, default: ""). This authentication method requires a 2048-bit (minimum) RSA key pair. +- **private_key_passphrase**: passphrase for private_key (string, default: "") - **warehouse**: destination warehouse name (string, required) - **database**: destination database name (string, required) - **schema**: destination schema name (string, default: "public") diff --git a/src/main/java/org/embulk/output/SnowflakeOutputPlugin.java b/src/main/java/org/embulk/output/SnowflakeOutputPlugin.java index c9867f5..b708ba2 100644 --- a/src/main/java/org/embulk/output/SnowflakeOutputPlugin.java +++ b/src/main/java/org/embulk/output/SnowflakeOutputPlugin.java @@ -42,11 +42,11 @@ public interface SnowflakePluginTask extends PluginTask { @ConfigDefault("\"\"") public String getPassword(); - @Config("privateKey") + @Config("private_key") @ConfigDefault("\"\"") String getPrivateKey(); - @Config("privateKeyPassphrase") + @Config("private_key_passphrase") @ConfigDefault("\"\"") String getPrivateKeyPassphrase();