private LoadingCache<VersionKey, Secret> initCache() {
        return CacheBuilder.newBuilder()
                .refreshAfterWrite(refreshInterval)
                // See documentation for refreshAfterWrite for why we use asyncReloading.
                .build(CacheLoader.asyncReloading(new CacheLoader<>() {
                    @Override
                    public Secret load(VersionKey key) {
                        return retrieveSecret(key.key(), key.version());
                    }
                }, scheduler));
    }
Returns the AWS secret id to use for the given key.
jdisc-cloud-aws/src/main/java/ai/vespa/secret/aws/AsmSecretReader.java