code: public void refresh() {
          if (credentialFile.lastModified() > credentialFileLastModified) {
              credentialFileLastModified = credentialFile.lastModified();
              credentials = loadCredentials(credentialFile);
          }
          credentialProvider = new JsonStaticCredentialsProvider(credentials);
      }
docs: Reread data from disk.