pub fn password_or_psk_to_policy_credential<S: ToString>( password_or_psk: Option<S>, ) -> Credential