secretKey method
Switch .env loading to the encrypted secret-key flow.
Implementation
Future<void> secretKey() async {
final inspected = await ProjectInspector.inspect();
final report = await runWithStepProgress(
logger,
'Setting up secret key...',
'🔐',
() => SecretKeyIntegrator.apply(
inspected.config.copyWith(useSecretKey: true),
),
);
_printReport(report);
}