We are looking to configure our SecretsManager instances via Cloudformation/CDK.
Based on what we've read, SecretsManager recommends using their generate secrets function.
Unfortunately, we can't use the generate secrets function since some of these secrets are values that are generated from 3rd party services. Things like api keys etc.
We are hesitant to put secret values directly onto the CDK code as well, since this is considered bad practice.
What's the recommended approach/pattern for this?