message: Bug Clear text on switching auth method
  Clear the value of auth in the state when switching authentication
  methods.
  Fixes
diff: @@ -63,7 +63,14 @@ export const ValutConfigure: React.FC<KMSConfigureProps> = ({
  });
  };
  + const setAuthValue = (authValue: string) => {
  + vaultStateClone.authValue.value = authValue;
  + vaultStateClone.authValue.valid = authValue !== '';
  + updateVaultState(vaultStateClone);
  + };
  +
  const setAuthMethod = (authMethod: VaultAuthMethods) => {
  + setAuthValue('');
  vaultStateClone.authMethod = authMethod;
  updateVaultState(vaultStateClone);
  };
  @@ -127,6 +134,7 @@ export const ValutConfigure: React.FC<KMSConfigureProps> = ({
  isWizardFlow,
  dispatch,
  updateVaultState,
  + setAuthValue,
  }}
  />
  </>
  @@ -142,6 +150,7 @@ const ValutConnectionForm: React.FC<ValutConnectionFormProps> = ({
  isWizardFlow,
  dispatch,
  updateVaultState,
  + setAuthValue,
  }) => {
  const vaultStateClone: VaultConfig = _.cloneDeep(vaultState);
  const Component: React.FC<VaultAuthMethodProps> =
  @@ -198,12 +207,6 @@ const ValutConnectionForm: React.FC<ValutConnectionFormProps> = ({
  updateVaultState(vaultStateClone);
  };
  - const setAuthValue = (authValue: string) => {
  - vaultStateClone.authValue.value = authValue;
  - vaultStateClone.authValue.valid = authValue !== '';
  - updateVaultState(vaultStateClone);
  - };
  -
  const validateAddressMessage = () =>
  vaultState.address.value === ''
  ? t('ceph-storage-plugin~This is a required field')
  @@ -322,4 +325,5 @@ export type ValutConnectionFormProps = {
  t: TFunction;
  dispatch: EncryptionDispatch;
  updateVaultState: (VaultConfig) => void;
  + setAuthValue: (string) => void;
  };
  