@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "awsFirehoseAuditClient")
    public FirehoseClient awsFirehoseAuditClient(final CasConfigurationProperties casProperties) {
        val amz = casProperties.getAudit().getAmazonFirehose();
        val credentials = ChainingAWSCredentialsProvider.getInstance(amz.getCredentialAccessKey(),
            amz.getCredentialSecretKey(), amz.getProfilePath(), amz.getProfileName());
        val builder = FirehoseClient.builder();
        AmazonClientConfigurationBuilder.prepareSyncClientBuilder(builder, credentials, amz);
        return builder.build();
    }
This is {@link CasSupportAmazonFirehoseAuditAutoConfiguration}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-audit-aws-firehose/src/main/java/org/apereo/cas/config/CasSupportAmazonFirehoseAuditAutoConfiguration.java