Example usage for org.springframework.security.crypto.encrypt TextEncryptor interface-usage

List of usage examples for org.springframework.security.crypto.encrypt TextEncryptor interface-usage

Introduction

In this page you can find the example usage for org.springframework.security.crypto.encrypt TextEncryptor interface-usage.

Usage

From source file de.zalando.spring.cloud.config.aws.kms.KmsTextEncryptor.java

/**
 * This {@link TextEncryptor} uses AWS KMS (Key Management Service) to encrypt / decrypt strings. Encoded cipher strings
 * are represented in Base64 format, to have a nicer string representation (only alpha-numeric chars), that can be
 * easily used as values in property files.
 */
public class KmsTextEncryptor implements TextEncryptor {