Skip to content

Instantly share code, notes, and snippets.

@calvincodes
Last active July 8, 2019 22:47
Show Gist options
  • Select an option

  • Save calvincodes/3b6c13546a785a2e69e0af7a1566e85d to your computer and use it in GitHub Desktop.

Select an option

Save calvincodes/3b6c13546a785a2e69e0af7a1566e85d to your computer and use it in GitHub Desktop.
val updateSecretRequest =
new UpdateSecretRequest().
withSecretId(secretId).
withKmsKeyId(newKmsKeyId).
withSecretString(newSecretString)
awsSecretsManager.updateSecret(updateSecretRequest)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment