Example usage for com.amazonaws.services.kms AWSKMSClientBuilder defaultClient

List of usage examples for com.amazonaws.services.kms AWSKMSClientBuilder defaultClient

Introduction

In this page you can find the example usage for com.amazonaws.services.kms AWSKMSClientBuilder defaultClient.

Prototype

public static AWSKMS defaultClient() 

Source Link

Usage

From source file:com.lasmanis.maven.pgp.loaders.helpers.AwsCryptoHelper.java

License:Apache License

/**
 * Public constructor.
 */
public AwsCryptoHelper() {
    this.client = AWSKMSClientBuilder.defaultClient();
}

From source file:com.yahoo.athenz.auth.impl.aws.AwsPrivateKeyStore.java

License:Apache License

public AwsPrivateKeyStore() {
    this(initAmazonS3(), AWSKMSClientBuilder.defaultClient());
    kmsDecrypt = Boolean.parseBoolean(System.getProperty(ATHENZ_PROP_AWS_KMS_DECRYPT, "false"));
}