List of usage examples for com.amazonaws.services.kms AWSKMSClientBuilder defaultClient
public static AWSKMS defaultClient()
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")); }