/**
 * Copyright IBM Corp. 2016, 2025
 * SPDX-License-Identifier: BUSL-1.1
 */
import type { WithFormFieldsAndValidationsModel } from 'vault/app-types';

export default interface LdapConfigModel extends WithFormFieldsAndValidationsModel {
  backend: string;
  binddn: string;
  bindpass: string;
  url: string;
  schema: string;
  password_policy: string;
  starttls: boolean;
  insecure_tls: boolean;
  certificate: string;
  client_tls_cert: string;
  client_tls_key: string;
  userdn: string;
  userattr: string;
  upndomain: string;
  connection_timeout: number;
  request_timeout: number;
  rotateRoot(): Promise;
}
