Open entest-hai opened 2 years ago
Would you be able to help us out with this @yamatatsu?
@peterwoodworth I'll try to create the example.
@entest-hai
CDK (and CloudFormation) does not have the feature of create-keys-and-certificate
.
If you wanna create certs with cdk, you can create the cert with using a csr created on your local machine. See, https://github.com/aws/aws-cdk/issues/19303#issuecomment-1063722656 .
Or you can create thing and cert in only cdk with the 3rd party constructs. https://constructs.dev/packages/cdk-iot-core-certificates/v/0.0.3?lang=typescript
If you use this 3rd party constructs, you can get cert from AWS SSM parameter store.
I am working on this FR
Describe the feature
Samples for AWS IoT
Use Case
I want to use CDK to build a AWS IoT Core example.
Proposed Solution
I am stuck at how to create the IoT x509 certificate using CDK. So I have to create a certificate from AWS CLI then pass the certificate ARN into CDK
CDK stack
Other Information
No response
Acknowledgements
Language
Typescript