title: Accessing AWS parameter store values with custom KMS key
body: <p>I am trying to read AWS parameters from the parameter store using java, i have created the parameters using a custom encryption key. I dont see a sample code in the internet where its using a custom KMS key , the below is the code i currently have which is working (here we are usingthe default KMS key). </p>
  
  <pre><code>AWSSimpleSystemsManagement client= AWSSimpleSystemsManagementClientBuilder.defaultClient();
      GetParametersRequest request= new GetParametersRequest();
      request.withNames("test.username","test.password")
             .setWithDecryption(true);
  </code></pre>
  
  <p>This will give the results with default KMS key
  Does anyone know how to handle this if we have a custom KMS key </p>