title: encrypting with aws kms and sdk with Typescript
body: <p>I am trying to encrypt environment variables that are defined in the stack.ts file, specifically:</p>
  <pre><code>      environment: {
          ENV: StackConfiguration.env,
          SC: StackConfiguration.sc,
          USER: StackConfiguration.user,
          PASS: StackConfiguration.pass
        },
  </code></pre>
  <p>I want to encrypt some of these values, something like:</p>
  <pre><code>        USER: kms.encrypt(StackConfiguration.user),
          PASS: kms.encrypt(StackConfiguration.pass)
  </code></pre>
  <p>I've looked through the AWS documentation, but examples are provided in everything but TS.</p>
  <p>How do I encrypt in the using kms in the sdk?</p>