mirror of
https://github.com/google/nomulus
synced 2026-01-08 23:23:32 +00:00
Make EncryptEscrowDepositCommand a RemoteApiCommand
Moving to KmsKeyring, any command that uses the Keyring must be a RemoteApiCommand to work. TESTED: successfully encrypted a file with no logged errors. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=155673003
This commit is contained in:
@@ -18,6 +18,7 @@ import static google.registry.util.DomainNameUtils.canonicalizeDomainName;
|
||||
|
||||
import com.beust.jcommander.Parameter;
|
||||
import com.beust.jcommander.Parameters;
|
||||
import google.registry.tools.Command.RemoteApiCommand;
|
||||
import google.registry.tools.params.PathParameter;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
@@ -25,7 +26,7 @@ import javax.inject.Inject;
|
||||
|
||||
/** Command to encrypt an escrow deposit. */
|
||||
@Parameters(separators = " =", commandDescription = "Encrypt an escrow deposit")
|
||||
class EncryptEscrowDepositCommand implements Command {
|
||||
class EncryptEscrowDepositCommand implements RemoteApiCommand {
|
||||
|
||||
@Parameter(
|
||||
names = {"-t", "--tld"},
|
||||
|
||||
Reference in New Issue
Block a user