Class EncryptionCLI
java.lang.Object
de.zalando.spring.cloud.config.aws.kms.test.EncryptionCLI
- All Implemented Interfaces:
org.springframework.boot.CommandLineRunner
@Component
public class EncryptionCLI
extends java.lang.Object
implements org.springframework.boot.CommandLineRunner
-
Constructor Summary
Constructors Constructor Description EncryptionCLI(KmsTextEncryptor kmsTextEncryptor, EncryptProperties encrypt, DecryptProperties decrypt) -
Method Summary
Modifier and Type Method Description voidrun(java.lang.String... args)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
EncryptionCLI
@Autowired public EncryptionCLI(KmsTextEncryptor kmsTextEncryptor, EncryptProperties encrypt, DecryptProperties decrypt)
-
-
Method Details
-
run
public void run(java.lang.String... args)- Specified by:
runin interfaceorg.springframework.boot.CommandLineRunner
-