Skip to content

Releases: udondan/cdk-ec2-key-pair

v2.1.0

22 Jan 15:02
Compare
Choose a tag to compare

⚠️ New minimum requirement of AWS CDK libs now is 1.75.0

Package @aws-cdk/aws-cloudformation is no longer a required peer dependency.

Adds option exposePublicKey to expose public key as construct property. The key will be available at key.publicKeyValue.

v2.0.0

21 Jan 09:44
Compare
Choose a tag to compare

⚠️ Incompatible to v1.x - This will not only require you to update your code, but also will destroy your keys and secrets and re-generate them!

  • Adds support for storing the public key in secrets manager. Set storePublicKey = true on the input properties
  • Since now you have potentially two secrets (private and public key), some input properties and construct methods have been renamed:
    • Additional to property kms now you have kmsPrivateKey and kmsPublicKey, to specify different keys for the secrets. If one property is not set, it falls back to the value provided via kms
    • The construct method grantRead has been replaced with two new methods grantReadOnPrivateKey and grantReadOnPublicKey to grant access to the two secrets separately
    • The construct property arn has been replaces with privateKeyArn and publicKeyArn
  • The construct property name has been replaced with keyPairName
  • New construct property keyPairID, which holds the resource ID of the Key Pair, e.g. key-1234567890
  • EC2 Key Pairs now are tagged. In v1.x only the secrets were tagged
  • With Key Pair tagging support, we now have improved IAM restrictions, based on tags. The lambda cannot touch keys it didn't create
  • The tag name for identifying resources has bee renamed from CreaedBy to CreatedByCfnCustomResource
  • Default secret prefix has been renamed from ec2-private-key/ to ec2-ssh-key/
  • The private key secret now is suffixied with /private. The public key will be suffixed with /public
  • Construct properties keyLength and tags have been removed. These were remains of previous versions which had no effect since long time

v1.7.4

19 Jan 13:11
070d3ed
Compare
Choose a tag to compare

Fix construct specific tag support.

v1.7.3

26 Dec 20:21
f3ab1ab
Compare
Choose a tag to compare

Reorganize dependencies

v1.7.2

13 Sep 20:06
e258ead
Compare
Choose a tag to compare

Now complete: Updates the cdk-iam-floyd package, which makes this package work again in other languages than Node

v1.7.1

13 Sep 19:51
Compare
Choose a tag to compare

Updates the cdk-iam-floyd package, which makes this package work again in other languages than Node

v1.7.0

06 Sep 14:21
932f5d4
Compare
Choose a tag to compare

Maintenance release: Use latest versions for iam-floyd and JSII

v1.6.0

31 Jul 09:28
Compare
Choose a tag to compare

Expose Lambda function so its properties may be adjusted from the outside. #18

v1.5.0

27 Jul 14:14
219c057
Compare
Choose a tag to compare

Maintainance update - updates dependencies to latest versions

v1.2.2

14 May 14:34
c204b47
Compare
Choose a tag to compare
  • Fixes bug introduced with 1f4555b - Lambda response values had not been returned correctly
  • Code now is formatted via prettier

v1.2.1...v1.2.2