public static KmsClient get(String keyUri) throws GeneralSecurityException {
    for (KmsClient client : clients) {
      if (client.doesSupport(keyUri)) {
        return client;
      }
    }
    throw new GeneralSecurityException("No KMS client does support: " + keyUri);
  }
Returns the first {@link KmsClient} registered with {@link KmsClients#add} that supports {@code
keyUri}.

@throws GeneralSecurityException if no KMS clients can be found that support {@code keyUri}
java_src/src/main/java/com/google/crypto/tink/KmsClients.java