@Override
        public ListSecretVersionIdsResponse listSecretVersionIds(ListSecretVersionIdsRequest request) {
            if (! secrets.containsKey(request.secretId())) {
                // Emulate AWS behavior
                throw ResourceNotFoundException.builder().message("Secret not found: " + request.secretId()).build();
            }
            return ListSecretVersionIdsResponse.builder()
                    .name(request.secretId())
                    .versions(secrets.get(request.secretId()).stream()
                                      .map(version -> SecretVersionsListEntry.builder()
                                              .versionId(version.version())
                                              .versionStages(toAwsStages(version.state()))
                                              .build())
                                      .toList())
                    .build();
        }
Base class for ASM reader and writer testers.
Expected mapping from Key to AWS secret id must be provided by each test.
This mapping is used when manually writing/reading secrets to/from the 'secrets' map,
so that lookup will fail if the mapping does not match what the production code uses.

@author gjoranv
jdisc-cloud-aws/src/main/java/ai/vespa/secret/aws/testutil/AsmSecretTesterBase.java