mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02: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:
parent
6e3a99a16b
commit
c2094eda40
1 changed files with 2 additions and 1 deletions
|
@ -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"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue