public boolean identical(Credentials other) {
        return this == other || (other != null && (accessKey == null && other.accessKey == null
                || accessKey != null && accessKey.equals(other.accessKey)) && (
                secretKey == null && other.secretKey == null || secretKey != null && secretKey
                        .equals(other.secretKey)));
    }
@Test
    void testIdentical() {
        //given
        String ak = "ak";
        String sk = "sk";
        String tenantId = "100";
        Credentials credentials1 = new Credentials(ak, sk, "101");
        Credentials credentials2 = new Credentials(ak, sk, "100");
        //then
        boolean actual = credentials1.identical(credentials2);
        //then
        assertTrue(actual);
    }