in lib/ci-config-stack.ts [28:67]
constructor(scope: Construct, id: string, props?: StackProps) {
super(scope, id, props);
const arnSecret = new Secret(this, 'certificateArn', {});
const certContentsSecret = new Secret(this, 'certContents', {});
const certChainSecret = new Secret(this, 'certChain', {});
const privateKeySecret = new Secret(this, 'privateKey', {});
const redirectUrlSecret = new Secret(this, 'redirectUrl', {});
const OIDCConfigValuesSecret = new Secret(this, 'OIDCConfigValues', {});
new CfnOutput(this, 'certificateArnSecret', {
value: arnSecret.secretArn,
exportName: CIConfigStack.CERTIFICATE_ARN_SECRET_EXPORT_VALUE,
});
new CfnOutput(this, 'certContentsSecret', {
value: certContentsSecret.secretArn,
exportName: CIConfigStack.CERTIFICATE_CONTENTS_SECRET_EXPORT_VALUE,
});
new CfnOutput(this, 'certChainSecret', {
value: certChainSecret.secretArn,
exportName: CIConfigStack.CERTIFICATE_CHAIN_SECRET_EXPORT_VALUE,
});
new CfnOutput(this, 'privateKeySecret', {
value: privateKeySecret.secretArn,
exportName: CIConfigStack.PRIVATE_KEY_SECRET_EXPORT_VALUE,
});
new CfnOutput(this, 'redirectUrlSecret', {
value: redirectUrlSecret.secretArn,
exportName: CIConfigStack.REDIRECT_URL_SECRET_EXPORT_VALUE,
});
new CfnOutput(this, 'OIDCConfigValuesSecret', {
value: OIDCConfigValuesSecret.secretArn,
exportName: CIConfigStack.OIDC_CONFIGURATION_VALUE_SECRET_EXPORT_VALUE,
});
}