private static Map<String, AttributeValue> buildTableAttributeValuesMap(final SamlIdPMetadataDocument record) {
        val values = new HashMap<String, AttributeValue>();
        values.put(SamlIdPMetadataColumns.APPLIES_TO.getColumnName(), AttributeValue.builder().s(record.getAppliesTo()).build());
        values.put(SamlIdPMetadataColumns.METADATA.getColumnName(), AttributeValue.builder().s(record.getMetadata()).build());
        values.put(SamlIdPMetadataColumns.SIGNING_CERTIFICATE.getColumnName(), AttributeValue.builder().s(record.getSigningCertificate()).build());
        values.put(SamlIdPMetadataColumns.ENCRYPTION_CERTIFICATE.getColumnName(), AttributeValue.builder().s(record.getEncryptionCertificate()).build());
        values.put(SamlIdPMetadataColumns.SIGNING_KEY.getColumnName(), AttributeValue.builder().s(record.getSigningKey()).build());
        values.put(SamlIdPMetadataColumns.ENCRYPTION_KEY.getColumnName(), AttributeValue.builder().s(record.getEncryptionKey()).build());
        LOGGER.debug("Created attribute values [{}] based on [{}]", values, record);
        return values;
    }
This is {@link DynamoDbSamlIdPMetadataGenerator}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-saml-idp-metadata-dynamodb/src/main/java/org/apereo/cas/support/saml/idp/metadata/DynamoDbSamlIdPMetadataGenerator.java